displaymode attribute

The displaymode attibute sets screen resolution, color resolution, and refresh rate of the computer display before running the script.

Applies to

<defaults>

Syntax

/ displaymode = (width, height, refreshrate, bitsperpixel)

Parameters

width An integer indicating the horizontal pixel resolution of the screen. A value of "0" indicates that the current setting should be used.
height An integer indicating the vertical pixel resolution of the screen. A value of "0" indicates that the current setting should be used.
refreshrate An integer indicating the refresh rate of the display. A value of "0" indicates that the current setting should be used.
bitsperpixel An integer indicating the color resolution in bits per pixel of the display. A value of "0" indicates that the current setting should be used.

Remarks

Use this parameter to specify the pixel resolution, color resolution, and vertical refresh rate settings for this experiment. When the experiment is launched, Inquisit will attempt to change to the specified display settings. If the settings are not supported by the display system, a message is displayed giving the experimenter the option of aborting the experiment or running it anyway.

Examples

The following sets the horizontal and vertical screen resolution, but leaves the refresh rate and color resolution as they are:

<defaults>
/ displaymode = (800, 600, 0, 0)
</defaults>


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