up Inquisit Language Reference

resetSelection function

Replaces all selected items into the selection pool of a list or stimulus.

Member of

<list><html><picture><port><sound><text><video><xid>

Syntax

object.name.resetSelection()

Return Type

none

Parameters

None.

Remarks

If a list or stimulus is configured for random selection without replacement, the resetSelection function will replace all items back into the selection pool. For all other lists and stimuli, the function has no effect.

Examples

The following resets the selection pool of a text stimulus:

<trial myTrial>
/ onTrialEnd= [text.myText.resetSelection();]
</trial>

The following resets the items from the selection pool of a list:

<trial myTrial>
/ onTrialEnd= [list.groceries.resetSelection();]
</trial>

Copyright Millisecond Software, LLC. All rights reserved.