up Inquisit Language Reference

platform property

The platform of the operating system on the computer.

Member of

<computer>

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 = [computer.platform=="win"]
/ file = "winvideos.iqx"]
</include>

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

<include>
/ precondition = [computer.platform=="mac"]
/ file = "macvideos.iqx"]
</include>

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