Use the GetResolution component

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • Get the resolution of the current screen by using the GetResolution component in RPA Desktop Design Studio.

    시작하기 전에

    Role required: none

    이 태스크 정보

    The properties of the GetResolution component are common with the properties of the other Screen components. To configure these properties, see Properties of the Screen components.

    프로시저

    1. In the Toolbox pane, navigate to Utilities > Screen.
    2. Drag the GetResolution component to the Design surface.
    3. 옵션: Connect the data and control ports of the GetResolution component to the corresponding ports of the other components as described in the following table.
      Port type Port name Data type Purpose of connection Mandatory?
      Data In Return String Returns the resolution of the current screen. Not applicable
    4. 옵션: To test the component, right-click the component bar and then click Run From Here.

    Display the current screen resolution in a message box

    Display the current screen resolution on a window.

    The GetResolution component passes the current screen resolution through the Return Data Out port to the Show component. The Show component takes the resolution through its Message Data In port and is displayed in a message box.