Created
June 19, 2012 16:59
-
-
Save rohinomiya/2955269 to your computer and use it in GitHub Desktop.
AutoHotKeyで、コマンドライン引数を取得するサンプル ref: http://qiita.com/items/7ee04ffc03721559e94d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; コマンドライン引数を取得するサンプル | |
ArgCount=%0% | |
if(ArgCount==0) | |
{ | |
MsgBox [使用法] %a_scriptname% [files..] | |
ExitApp | |
} | |
Loop, %ArgCount% | |
{ | |
Arg := %a_index% | |
MsgBox % Arg | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment