Get Display Devices
Verb: getDisplays
Gets information about the type, resolution, and color density of each display device available according to the screen resolution settings where the command is executed.
Syntax
getDisplays (List<Display>)=value
Outputs
Script | Designer | AcceptedTypes | Description |
---|---|---|---|
value | Displays | List<Display> | List containing the type, resolution, and color density of all available display devices. |
Example
Gets the information of the available display devices where the command is executed.
defVar --name displays --type List --innertype Display
getDisplays displays=value
logMessage --message "${displays}" --type "Info"
// Displays in the console the available display devices information.
Remarks
Multiple devices are returned only if they are recognized in the screen resolution settings where the command is executed.