en:actions:actionkey
Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | en:actions:actionkey [2021/02/13 11:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Key ====== | ||
| + | This action allows you to simulate a key press or release. This action should not be used to write text, to do so you should rather use the [[en: | ||
| + | You could use this action to trigger a keyboard shortcut (F5 to refresh a Web page, Escape to exit a dialog box...) or another feature. | ||
| + | |||
| + | ===== Standard parameters ===== | ||
| + | ==== Input parameters ==== | ||
| + | == Key == | ||
| + | The key to press. To set the value of this field you only have to press the wanted key. | ||
| + | == Action == | ||
| + | The action that should be performed: | ||
| + | * Press and release: a simple keypress. | ||
| + | * Press: the key is maintained pressed until another action stops it or until the execution ends. | ||
| + | * Release: the key is released if it was previously pressed. | ||
| + | == Amount == | ||
| + | The amount of key presses to simulate. [//Added in Actionaz 3.5.0.//] | ||
| + | |||
| + | ===== Advanced parameters ===== | ||
| + | == Type == | ||
| + | The keyboard type to use. Windows only. | ||
| + | * //Win32//: the standard Windows keys. | ||
| + | * // | ||
| + | |||
| + | == Press/ | ||
| + | The amount of time to wait before releasing a pressed key. | ||
| + | |||
| + | ===== Exceptions ===== | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | |||
| + | ==== Simulation failed ==== | ||
| + | < | ||
| + | |||
| + | This exception is thrown when the simulation failed. | ||
| + | * Default action: stop the script execution | ||
| + | |||
| + | ==== Invalid action ==== | ||
| + | < | ||
| + | |||
| + | This exception is thrown when the action is invalid. | ||
| + | * Default action: stop the script execution | ||
