up Inquisit Language Reference

clearscreen element

Syntax

<clearscreen clearscreenname>
This element has no attributes
</clearscreen>

Properties

clearscreen.clearscreenname.color
clearscreen.clearscreenname.colorblue
clearscreen.clearscreenname.colorgreen
clearscreen.clearscreenname.colorred
clearscreen.clearscreenname.typename

Functions

None.

Remarks

The clearscreen element is built-in, there is no need to explicitly declare it in the script. It is a type of visual stimulus, so it can be used wherever a visual stimulus element is valid. The clearscreen is useful for quickly clearing the screen. The advantage of using clearscreen rather than the shape element is that it is much faster. By default, the color used is the screencolor specified in defaults or white if none is specified. Can be referenced as clearscreen (defaults to primary monitor) or clearscreen.monitor where monitor specifies the monitor to be cleared (i.e. clearscreen.1 for the primary, clearscreen.2 for the secondary, etc.)

Examples

The following trial presents a beep.

<trial beeptrial>
/ stimulustimes = [1=systembeep]
/ validresponse = (anyresponse)
</trial>

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