The file name of the currently running script.
<batch>
batch.name.currentScript
Read Only
string
This property returns the file name of the currently running script.
The following batch code shows how to use the 'currentScript' property in a conditional statement to set a batch parameter.
<batch main>
/ file = "script1.iqx"
/ file = "script2.iqx"
/ onScriptBegin = {if(batch.main.currentScript == "script1.iqx") parameters.maxtrials = 10;}
</batch>