diff --git a/func.ahk b/func.ahk index 3a3a4dc..5736c28 100644 --- a/func.ahk +++ b/func.ahk @@ -35,7 +35,7 @@ GetInfo(xID) ; Accept what is passed here as the variable "xID" in the script if InStr(Array[1],xID) ; if at the specified element (1) the specified content (dealers xID) has been found, Break ; stop searching } - Test:= {email: Array[2], name: Array[3], user: Array[4]} ; Return the array so we can do {variable}.email and so on + Test:= {xid: Array[1], email: Array[2], name: Array[3], user: Array[4]} ; Return the array so we can do {variable}.email and so on Return Test } if !(xID) @@ -93,5 +93,5 @@ ini_writeValue(location, inKey, inValue) WinWaitNotActive, GloVar.ini FileAppend, %tempini%, tempini ; Append the fixed ini to a new file FileCopy, tempini, %location%, 1 ; Copy the file over, overwriting existing contents - FileDelete, tempini ; Delete the fixed temporary ini + FileDelete, tempini ; Delete the fixed temporary ini } \ No newline at end of file