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 IBM Robotic Process Automation Studio 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.

See Also

  • Check If Virtual Machine
  • Count Monitors
  • Get Screen Resolution
  • Get System Folder Path
  • Lock the Machine
  • Logoff
  • Run
  • Set Screen Resolution
  • Shutdown