 
 
 ;Monitor routines
-GetDisplayData(PrgLnchMon := 1, targMonitorNum := 1, ByRef dispMonNamesNo := 0, ByRef iDevNumArray := 0, ByRef dispMonNames := 0, ByRef scrDPI := 0, ByRef scrWidth := 0, ByRef scrHeight := 0, ByRef scrInterlace := 0, ByRef scrFreq := 0, iMode := -2, iChange := 0)
-{
-Device_Mode := 0, iDevNumb = 0, ftemp := 0, temp := 0, retVal := 0, devFlags := 0, devKey := 0, OffsetDWORD := 4
+GetDisplayData(targMonitorNum := 1, ByRef dispMonNamesNo := 9, ByRef iDevNumArray := 0, ByRef dispMonNames := 0, ByRef scrWidth := 0, ByRef scrHeight := 0, ByRef scrFreq := 0, ByRef scrInterlace := 0, ByRef scrDPI := 0, iMode := -2, iChange := 0)
+{
+Device_Mode := 0, iDevNumb := 0, ftemp := 0, temp := 0, retVal := 0, devFlags := 0, devKey := 0, OffsetDWORD := 4
+static dispMonNamesSaved := {}
 iLocDevNumArray := [0, 0, 0, 0, 0, 0, 0, 0, 0]
 
-	if (iMode = -3)
+	if (iMode == -3) ; program load
 	{
 
 




	if (!oldSelIniChoicePath || (SelIniChoicePath = oldSelIniChoicePath))
	{
		; PrgPIDMast = Potential candidate list for PID
		loop %maxBatchPrgs%

Tooltip


if (allModes)
{
GuiControlGet, strTemp, PrgLnchOpt:, currRes
GuiControl, PrgLnchOpt: ChooseString, ResIndex, %strTemp%
}
else
{
fTemp := 0
GuiControlGet, strTemp, PrgLnchOpt:, ResIndex
	Loop, Parse, ResIndexList, |
	{
		If (strTemp == A_Loopfield)
		{
		fTemp := A_Index
		Break
