up Inquisit Language Reference

screenWidth property

The width of the screen in pixels.

Member of

<display>

Syntax

display.name.screenWidth

Read Only

Type

extent

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 myPage>
screenWidth = <% display.screenWidth %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.