FileReadLine, OutputVar, Filename, LineNum
| Filename | Standard Input (stdin): Specifying stdin for Filename causes Text to be read from standard input (stdin). Such text can be piped from a file |
| LineNum | should be 1 with stdin |
FileReadLine, line1, stdin, 1 FileReadLine, line2, stdin, 1 listvars msgbox ... > type script.ahk | autohotkey.exe script.ahk