up Inquisit Language Reference

screenwidth property

The width of the screen in pixels.

Member of

<display>

Remarks

The screenwidth property returns the horizontal pixel resolution of the main screen.

Examples

The following records the value of screenwidth in the summary data file:

<summarydata>
/ columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid, display.screenwidth, display.screenheight)
</summarydata>

The following displays the value of screenwidth in an instruction page:

<page somepage>
screenwidth = <% display.screenwidth %>
</page>

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