The file name of the currently running script.
<batch>
This property returns the file name of the currently running script.
The following displays the value of currentexpt in a text stimulus:
<batch>
/ file = "script1.iqx"
/ file = "script2.iqx"
/ onscriptbegin = [if(batch.main.currentscript == "script1.iqx") parameters.maxtrials = 10]
</batch>