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

  • 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 present 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