 
 ChangeResolution(scrWidth := 1920, scrHeight := 1080, scrFreq := 60, targMonitorNum := 1)
 {
-	local Device_Mode := 0, monName := 0, devFlags := 0 , CDSopt := 0, scrInterlace := 0, scrDPI := 32
+	local Device_Mode := 0, monName := 0, devFlags := 0 , CDSopt := 0, scrInterlace := 0, scrDPI := 32, strRetVal := ""
 
 	GuiControlGet Test, PrgLnchOpt:, Test
 		If (Test)

		}
		if (DefResNoMatchRes(PrgLnchIni, Fmode, scrWidth, scrHeight, scrWidthDef, scrHeightDef))
			{
			ChangeResolution(scrWidth, scrHeight, scrFreq, targMonitorNum)
			Sleep 1200
			}




BackToPrgLnch:
SetTimer, WatchSwitchOut, Off
SetTimer, WatchSwitchBack, Off
Thread, NoTimers
Tooltip

UDM_SETRANGE := 0X0465

WorkingDirectory(1, A_ScriptDir)
