System.GetDisplayInfo

table System.GetDisplayInfo ( 

)

Description

Returns a table containing the display information of the user's system.

Parameters

None.

Returns

(table) A table containing the user's display information, indexed by the following keys:

KEY

TYPE

DESCRIPTION

Width

number

The user's screen width in pixels (for example 800).

Height

number

The user's screen height in pixels (for example 600).

ColorDepth

number

The color depth of the user's video display, in bits per pixel. For example, 8 for 256 Colors, 16 for High Color or 32 for True Color.

If this information cannot be determined, or an error occurs, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.

Availability

Standard

Pro

See also:  Related Actions