Code: Select all
FileRead, CompList, G:\Data\CompList.ants
CompListRows:=StrSplit(CompList, "`r`n")
Loop {
CompListRow:=StrSplit(CompListRows[A_Index], "`t")
If (CompListRow[2] = A_ComputerName) {
Packbord:=CompListRow[1]
PackbordsTyp:=CompListRow[3]
Break
}
}
I'm trying to run it on a computer with AHK 1.0.48.05.
It throws an error on line 2 "Call to nonexistent function".
How can I change the script to work on this computer? I don't have access to upgrade the AHK version.
I've tried StringSplit but got the same error.
/Jens