Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:actions [2011/07/07 18:59] – [Système] jmgr | en:actions [2021/02/13 11:23] (current) – external edit 127.0.0.1 |
---|
==== Output parameters ==== | ==== Output parameters ==== |
Output parameters (yellow background) allows you to retrieve data after the action has been executed. This data is stored into a variable whose name is the value of the output parameter field. | Output parameters (yellow background) allows you to retrieve data after the action has been executed. This data is stored into a variable whose name is the value of the output parameter field. |
| |
| |
| ==== Common parameters ==== |
| {{:en:common.png|}} |
| |
| Some parameters are common to every action: |
| * pause before: pause before executing the action |
| * pause after: pause after having executed the action |
| * timeout: maximum execution time; a Timeout exception is thrown if the execution duration exceeds this value |
| |
| ===== Exceptions ===== |
| {{:en:exceptions.png|}} |
| |
| Exceptions are events that can be triggered during the execution of an action. |
| |
| Most of the time these are the result of an error in the action parameters. An exception is also thrown if the maximal execution time of an action is exceeded. |
| |
| Depending on the parameters chosen, an exception can interrupt the script execution, skip the current action or jump to another script line. |
===== Comment ===== | ===== Comment ===== |
It is also possible to enter a comment to help identifying what an action does. | It is also possible to enter a comment to help identifying what an action does. |
Actions of this category act upon the windowing system of the operating system. | Actions of this category act upon the windowing system of the operating system. |
| |
* [[en:actions:ActionMessageBox|Message Box]] : shows a message or asks a question | * [[en:actions:ActionMessageBox|Message Box]]: shows a message or asks a question |
* [[en:actions:ActionWindowCondition|Window condition]] : checks if a window exists and act upon | * [[en:actions:ActionWindowCondition|Window condition]]: checks if a window exists and act upon |
* [[en:actions:ActionTextInput|Text input]] : prompts the user to enter some text | * [[en:actions:ActionDataInput|Data input]]: prompts the user to enter some data |
* [[en:actions:ActionWindow|Window]] : do something on a window | * [[en:actions:ActionMultiDataInput|Multi data input]]: asks the user to choose an item from a list |
| * [[en:actions:ActionWindow|Window]]: do something on a window |
| |
===== Devices ===== | ===== Devices ===== |
These actions act upon computer devices. | These actions act upon computer devices. |
| |
* [[en::actions::ActionCursorPath|Cursor path]] : moves the mouse cursor along a path | * [[en::actions::ActionCursorPath|Cursor path]]: moves the mouse cursor along a path |
* [[en::actions::ActionClick|Click]] : emulates a mouse click | * [[en::actions::ActionClick|Click]]: emulates a mouse click |
* [[en::actions::ActionMoveCursor|Move cursor]] : moves the mouse cursor at a position on the screen | * [[en::actions::ActionMoveCursor|Move cursor]]: moves the mouse cursor at a position on the screen |
* [[en::actions::ActionWheel|Wheel]] : emulates a mouse wheel movement | * [[en::actions::ActionWheel|Wheel]]: emulates a mouse wheel movement |
* [[en::actions::ActionKey|Key]] : emulates a key press or release | * [[en::actions::ActionKey|Key]]: emulates a key press or release |
* [[en::actions::ActionWriteText|Write text]] : emulates text writing | * [[en::actions::ActionWriteText|Write text]]: emulates text writing |
| * [[en::actions::ActionKeyboardKeyCondition|Key condition]]: checks if a key combination is pressed and does something |
===== System ===== | ===== System ===== |
| |
These actions act directly on the operating system. | These actions act directly on the operating system. |
| |
* [[en:actions:ActionCommand|Command]] : executes a command or start a process | * [[en:actions:ActionCommand|Command]]: executes a command or start a process |
* [[en:actions:ActionDetachedCommand|Detached command]] : executes a detached command or start a detached process | * [[en:actions:ActionDetachedCommand|Detached command]]: executes a detached command or start a detached process |
* [[en:actions:ActionPixelColor|Pixel color]] : checks the color of a pixel and acts upon | * [[en:actions:ActionPixelColor|Pixel color]]: checks the color of a pixel and acts upon |
* [[en:actions:ActionKillProcess|Kill process]] : kills a process | * [[en:actions:ActionKillProcess|Kill process]]: kills a process |
* [[en:actions:ActionPlaySound|Play sound]] : plays a sound file or a distant stream | * [[en:actions:ActionPlaySound|Play sound]]: plays a sound file or a distant stream |
* [[en:actions:ActionOpenURL|Open URL]] : opens an URL with the default browser | * [[en:actions:ActionOpenURL|Open URL]]: opens an URL with the default browser |
* [[en:actions:ActionNotify|Notification]] : shows a notification (GNU/Linux only) | * [[en:actions:ActionNotify|Notification]]: shows a notification (GNU/Linux only) |
* [[en:actions:ActionSystem|System]] : restarts, stops, or suspends the operating system | * [[en:actions:ActionSystem|System]]: restarts, stops, or suspends the operating system |
| * [[en:actions:ActionFindImage|Find image]]: finds an image on the screen, on a window or on another image |
| * [[en:actions:ActionTextToSpeech|Text to speech]]: reads some text using text to speech |
| ===== Internal ===== |
| |
| The following actions act upon the script execution. |
| |
| * [[en:actions:ActionGoto|Goto]]: sets the next action to execute |
| * [[en:actions:ActionNoop|No-op]]: does nothing |
| * [[en:actions:ActionLoop|Loop]]: sets the next action to execute multiple times |
| * [[en:actions:ActionCode|Code]]: executes Javascript code |
| * [[en:actions:ActionVariableCondition|Variable condition]]: checks the value of a variable and act upon |
| * [[en:actions:ActionTimeCondition|Time condition]]: checks a time condition and act upon |
| * [[en:actions:ActionConsole|Console]]: writes an entry into the Actionaz console |
| * [[en:actions:ActionPause|Pause]]: pauses the script execution for a specific duration |
| * [[en:actions:ActionExit|Exit Actionaz]]: exits the program |
| * [[en:actions:ActionVariable|Variable]]: acts on a variable |
| * [[en:actions:ActionStop|Stop]]: stops the script execution |
| |
| ===== Data ===== |
| |
| These actions act upon data. |
| |
| * [[en:actions:ActionCopyFile|Copy file]]: copies a file |
| * [[en:actions:ActionReadIniFile|Read INI file]]: reads an entry from an INI file |
| * [[en:actions:ActionReadBinaryFile|Read binary file]]: reads data from a binary file |
| * [[en:actions:ActionReadTextFile|Read text file]]: reads a text file |
| * [[en:actions:ActionReadClipboard|Read clipboard]]: reads the clipboard content |
| * [[en:actions:ActionReadEnvironmentVariable|Read environment variable]]: reads one or all the environment variables |
| * [[en:actions:ActionReadRegistry|Read registry]]: reads an entry from the registry (Windows only) |
| * [[en:actions:ActionWriteIniFile|Write INI file]]: writes an entry into an INI file |
| * [[en:actions:ActionWriteBinaryFile|Write binary file]]: writes data into a binary file |
| * [[en:actions:ActionWriteTextFile|Write text file]]: writes into a text file |
| * [[en:actions:ActionWriteClipboard|Write clipboard]]: writes into the clipboard |
| * [[en:actions:ActionWriteRegistry|Write registry]]: writes an entry into the registry (Windows only) |
| * [[en:actions:ActionWebDownload|Web download]]: downloads a page or a file from the Web |
| * [[en:actions:ActionSendMail|Send mail]]: sends an e-mail |
| |
===== Interne ===== | ===== Procedures ===== |
| |
Ces actions agissent sur l'exécution du script. | These actions allows the creation and use of procedures. |
| |
* [[fr:actions:ActionGoto|Aller à]] : change l'action suivante à exécuter | * [[en:actions:ActionBeginProcedure|Begin procedure]]: declares a new procedure |
* [[fr:actions:ActionNoop|Aucune opération]] : n'effectue aucune action | * [[en:actions:ActionEndProcedure|End procedure]]: ends a procedure declaration |
* [[fr:actions:ActionLoop|Boucle]] : change l'action suivante à exécuter un certain nombre de fois | * [[en:actions:ActionCallProcedure|Call procedure]]: calls a procedure |
* [[fr:actions:ActionCode|Code]] : exécute du code Javascript | |
* [[fr:actions:ActionVariableCondition|Condition de variable]] : vérifie la valeur d'une variable et agit en conséquence | |
* [[fr:actions:ActionTimeCondition|Condition temporelle]] : vérifie une condition temporelle et agit en conséquence | |
* [[fr:actions:ActionConsole|Console]] : écrit une entrée dans la console d'Actionaz | |
* [[fr:actions:ActionPause|Pause]] : met en pause l'exécution du script pour une certaine durée | |
* [[fr:actions:ActionExit|Quitter Actionaz]] : quitte le programme | |
* [[fr:actions:ActionVariable|Variable]] : agit sur une variable | |
* [[fr:actions:ActionStop|Stop]] : arrête l'exécution du script | |
| |
===== Données ===== | |
| |
Ces actions agissent sur des données. | ---- |
| Go back to [[en:start|homepage]] |
| |
* [[fr:actions:ActionCopyFile|Copier fichier]] : copie un fichier | Other languages for this page : [[fr:actions|(fr)]] |
* [[fr:actions:ActionReadIniFile|Lire fichier INI]] : lit une entrée d'un fichier INI | |
* [[fr:actions:ActionReadBinaryFile|Lire fichier binaire]] : lit des données d'un fichier binaire | |
* [[fr:actions:ActionReadTextFile|Lire fichier texte]] : lit un fichier texte | |
* [[fr:actions:ActionReadClipboard|Lire presse-papiers]] : lit le contenu du presse-papiers | |
* [[fr:actions:ActionReadRegistry|Lire registre]] : lit une entrée de la base de registre (Windows seulement) | |
* [[fr:actions:ActionWriteIniFile|Écrire fichier INI]] : écrit une entrée d'un fichier INI | |
* [[fr:actions:ActionWriteBinaryFile|Écrire fichier binaire]] : écrit des données dans un fichier binaire | |
* [[fr:actions:ActionWriteTextFile|Écrire fichier texte]] : écrit dans un fichier texte | |
* [[fr:actions:ActionWriteClipboard|Écrire presse-papier]] : écrit le contenu du presse-papiers | |
* [[fr:actions:ActionWriteRegistry|Écrire registre]] : écrit une entrée dans la base de registre (Windows seulement) | |