 	loop, % currBatchNo
 	{
 	fTemp := PrgListPID%btchPrgPresetSel%[A_Index]
-		if (A_Index = batchPrgStatus)
+		if (batchPrgStatus = A_Index)
 		{
 		SplashImage, PrgLaunching.jpg, Hide,,,LnchSplash
 		HideShowLnchControls(quitHwnd, GoConfigHwnd, 1)


ChangeResolution(scrWidth := 1920, scrHeight := 1080, scrFreq := 60, targMonitorNum := 1)
{
	local Device_Mode := 0, monName := 0, devFlags := 0 , CDSopt := 0, scrInterlace := 0, scrDPI := 32

	GuiControlGet Test, PrgLnchOpt:, Test
		If (Test)

			PrgListPIDbtchPrgPresetSel[A_Index] := 0
			}
		;Gui Must show else it's awkward obtaining completed batch Prg ID
		WinMover(PrgLnchOpt.Hwnd(),"d r")
		Gui, PrgLnchOpt: Show
	}
	else
