Click Coordinate
Clicks at a specific coordinate on the screen or within an element.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Handle - The handle of the window to interact with.
- Window Selector - The selector for identifying the target window.
- Element Selector - The selector for identifying the target element.
- X Coordinate - The X coordinate for the click position.
- Y Coordinate - The Y coordinate for the click position.
Options
- Coordinate Type - Specifies whether coordinates are absolute or relative. Default is "Absolute".
- Absolute - Coordinates are relative to the screen
- Relative - Coordinates are relative to the selected element
- Mouse Button - The mouse button to use for clicking. Default is "Left Button".
- Left Button - Single left click
- Double Click - Double left click
- Middle Button - Middle mouse button click
- Right Button - Right mouse button click
- Show Window - Whether to show the window before interacting with it. Default is false.
- Focus - Whether to focus the element before clicking. Default is true.
How It Works
The Click Coordinate node performs mouse clicks at specified coordinates. When executed, the node:
- Retrieves the X and Y coordinates from the inputs
- If Coordinate Type is set to "Relative", it finds the specified element and adjusts the coordinates relative to that element's position
- If Focus is enabled and an element was specified, it focuses that element
- Performs the specified mouse click action at the calculated coordinates
Usage Notes
- When using relative coordinates, both Window Selector and Element Selector must be provided
- For absolute coordinates, only X and Y values are needed
- The Focus option only applies when using relative coordinates
- Double-click timing is automatically adjusted based on the system's double-click speed setting
- Coordinate values are treated as integers