activities
latest
false
UiPath logo, featuring letters U and I in white
UI Automation Activities
Last updated Nov 25, 2024

Get Cursor Position

UiPath.Terminal.Activities.TerminalGetCursorPosition

Description

Returns the screen coordinates of the current cursor position.

The activity is valid only inside a Terminal Session activity.

Project compatibility

Windows - Legacy | Windows

Configuration

Properties panel

Common
  • DisplayName - The display name of the activity.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
    Note: If the text provided as input is not found on screen, the activity throws an InvalidCoordinates exception.
Options
  • DelayMS - Delay time (in milliseconds) after executing the activity. The default amount of time is 300 milliseconds (0.3 seconds).
  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 5000 milliseconds (5 seconds).
  • WaitType - Before performing the actions, wait for the target to become ready. The following options are available:
    • NONE - Does not wait for the terminal keyboard to be enabled.
    • READY / COMPLETE - Waits for the terminal keyboard to be enabled. The default value is READY.
    Note: The READY and COMPLETE options have the same function, since the wait type is related to the status of the terminal keyboard, which has only two states: enabled or inhibited.
Output
  • Column - The column where the cursor is placed on screen. The return value is an Int32.
  • Row - The row where the cursor is placed on screen. The return value is an Int32.
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.