Update 'func.ahk'
This commit is contained in:
parent
c81d2e93a8
commit
4b96fbbb6a
4
func.ahk
4
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,
|
if InStr(Array[1],xID) ; if at the specified element (1) the specified content (dealers xID) has been found,
|
||||||
Break ; stop searching
|
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
|
Return Test
|
||||||
}
|
}
|
||||||
if !(xID)
|
if !(xID)
|
||||||
@ -93,5 +93,5 @@ ini_writeValue(location, inKey, inValue)
|
|||||||
WinWaitNotActive, GloVar.ini
|
WinWaitNotActive, GloVar.ini
|
||||||
FileAppend, %tempini%, tempini ; Append the fixed ini to a new file
|
FileAppend, %tempini%, tempini ; Append the fixed ini to a new file
|
||||||
FileCopy, tempini, %location%, 1 ; Copy the file over, overwriting existing contents
|
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
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user