User Tools

Site Tools


en:actions:actionclick

Differences

This shows you the differences between two versions of the page.


Previous revision
en:actions:actionclick [2021/02/13 11:23] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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, used as a translation vector, applied to the point targeted in the standard parameters.
 +
 +//Example//: if the action is configured to click at //250:110// and if the offset is defined with the value //50:40//, then the action will click at the following coordinates: //300:150//.
 +
 +[//Added in Actionaz 3.6.0.//]
 +===== Exceptions =====
 +
 +  * [[en:actions:exceptions#Bad parameter|Bad parameter]]
 +  * [[en:actions:exceptions#Code error|Code error]]
 +  * [[en:actions:exceptions#timeout|Timeout]]
 +  * [[en:actions:actionclick#simulation_failed|Simulation failed]]
 +  * [[en:actions:actionclick#invalid_action|Invalid action]]
 +
 +==== 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 **[[en:actions#devices|list actions]]**
 +
 +Other languages for this page : [[fr:actions:actionclick|(fr)]]