Skip to content
Gene Alyson Fortunado Torcende edited this page Dec 29, 2018 · 2 revisions

To parse command-line arguments

Example (test.ahk)

#Include ParseArguments.ahk

argv := ParseArguments()

For key, value in argv
    MsgBox %key% = %value%

ExitApp

Autohotkey.exe test.ahk -a Includes\* -out files.o

Output (MsgBox)

a = Includes\*
out = files.o

Clone this wiki locally