up Inquisit Language Reference

platform property

The platform of the operating system on the computer.

Member of

<computer>

Syntax

computer.name.platform

Read Only

Type

string

Remarks

This property returns "win" if running on Windows and "mac" if running on Mac OSX.

Examples

The following conditionally includes a script file when run on Windows:

<include>
/ preCondition = { return computer.platform=="win"}
/ file = "winvideos.iqx"
</include>

The following conditionally includes a script file when run on Mac OSX:

<include>
/ preCondition = { return computer.platform=="mac"}
/ file = "macvideos.iqx"
</include>

Copyright Millisecond Software, LLC. All rights reserved.