|

ResultVariable


image

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


See also: Related Actions


image

System.GetDisplayInfo

OverviewExamples

table System.GetDisplayInfo ( )


De s cr ip t ion


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


P arame t er s


None.


Re t u r n s


(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.


|