User Tools

Site Tools


en:actions:actionclick

This is an old revision of the document!


Click

This action allows you to simulate a mouse click (left, middle or right click) at a specific position on the screen. You can simulate a single click (press and release) or a continuous press that can be released in a later action.

Standard parameters

Input parameters

Action

The action to execute:

  • Click (press and release)
  • Press
  • Release

Warning: Any unreleased pressed button will be released when the execution ends.

Button

The mouse button to press.

Note: Only standard buttons can be used. (left, middle or right)

Position

The position where to simulate the click.

Amount

The amount of clicks to simulate.

Advanced Parameters

Input parameters

Offset

Coordinates, ued as a translation vector, applied to the point targeted in the standard parameters.

Example : if action is configured to click at 250:110, and if the offset variable is defined with this value 50:40, so the action will click at the following coordinates : 300:150.

Exceptions

Simulation failed

<BOOKMARK:simulation_failed>

This exception is thrown when the simulation failed.

  • Default action: stop the script execution

Invalid action

<BOOKMARK:invalid_action>

This exception is thrown when the chosen action is invalid.

  • Default action: stop the script execution

Go back to list actions

Other languages for this page : (fr)

en/actions/actionclick.1362344320.txt.gz · Last modified: 2021/02/13 11:23 (external edit)