up Inquisit Language Reference

currentscript property

The file name of the currently running script.

Member of

<batch>

Remarks

This property returns the file name of the currently running script.

Examples

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>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.