getArg(Ver2.11対応版)
IndexScriptGlobal method− getArg

getArg( num )
Get the argument specified by command line option /a. (V1.30)
パラメータ1(数値型)
When there are multiple /a, specify the number counted from 0.
Example: "C:\Program Files\HmFilerClassic\HmFilerClassic.exe" /x "c:\folder\test.js" /a param1 /a "param 2"

返り値(文字列型)
Content of argument.

ブックマークでスクリプトを実行する場合、スクリプトファイル名に続いて空白で区切って、パラメータを記述したものが取得できます。(V1.44)
例:js:"c:\folder\test.js" param1 "param 2"
When executing a script with bookmarks, you can specify parameters by separating the script file name with a space. Get that parameter with GetArg. (V1.44)
Example: js:"c:\folder\test.js" param1 "param 2"