User Tools

Site Tools


en:actions:actionclick

Differences

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

Link to this comparison view

en:actions:actionclick [2016/10/09 09:10]
en:actions:actionclick [2020/02/09 13:26] (current)
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)]]