Skip to main content

Get Screen Resolution

Description

Gets the width, height, bit count and the frequency of the selected monitor.

Properties

Input

  • Monitor Number – Specify the monitor number for which you want to get the resolution

Misc

  • DisplayName – The display name of the activity.

  • Private – If selected, the variables and argument values will no longer be logged at the Verbose level.

Optional

  • Timeout – Specifies the maximum duration the activity will wait for a response to perform the requested operation. A timeout error occurs if no response is received within the specified time. The default timeout is 30 seconds.
  • Continue On Error – It Specifies whether the automation should continue even when the activity throws an error. If True, the activity continues without throwing any exceptions. If False, the activity throws an exception. The default value is False.
note

If this activity is inside the Try-Catch block, and the value of this property is True, no error would be caught.

Output

  • Width – Width of the screen

  • Height – Height of the screen

  • Bit count – Bits per pixel

  • Frequency – Refresh rate of the screen

Example

Download Example