User Tools

Site Tools


en:actions

Differences

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

Link to this comparison view

en:actions [2013/03/03 20:30]
niconil [Procedures]
en:actions [2021/02/13 11:23]
Line 1: Line 1:
-====== Actions ====== 
  
-An Actionaz script is made of actions that are sequentially executed. 
- 
-Every action has: 
-  * a checkbox allowing you to disable it 
-  * a line number or a label that allows to to identify it 
-  * a parameter list 
-  * a commentary (optional) 
- 
-You can specify a pause before and after the execution of the action, so as a maximum execution duration. 
-===== Line number/Label ===== 
-{{:line_label.png|}} 
- 
-The line number or the label allows you to specify the targeted script line of a position change. (goto) 
- 
-A label allows you to set a fixed position in the script as the line number can vary. 
- 
-To define a label, double-click on the left part of the action line. Entering no text removes the label. Even if a label exists it is still possible to use the line number to identify an action. 
-===== Parameter list ===== 
-{{:en:parameters.png|}} 
- 
-==== Input parameters ==== 
-Input parameters (purple background) can be of different types and can also be empty. In that case the default value will be used. 
-==== 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. 
- 
- 
-==== 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 ===== 
-It is also possible to enter a comment to help identifying what an action does. 
- 
-===== Color ===== 
-Each action can also have a background color. This can help visually identifying a group of actions. Select one or more actions and choose "Action color" -> "Set action color" or press Ctrl+E to set the background color. 
- 
-====== Action list ====== 
- 
-These are the official actions of Actionaz 3. 
- 
-===== Windows ===== 
- 
-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:ActionWindowCondition|Window condition]]: checks if a window exists and act upon 
-  * [[en:actions:ActionDataInput|Data input]]: prompts the user to enter some data 
-  * [[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 ===== 
- 
-These actions act upon computer devices. 
- 
-  * [[en::actions::ActionCursorPath|Cursor path]]: moves the mouse cursor along a path 
-  * [[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::ActionWheel|Wheel]]: emulates a mouse wheel movement 
-  * [[en::actions::ActionKey|Key]]: emulates a key press or release 
-  * [[en::actions::ActionWriteText|Write text]]: emulates text writing 
- 
-===== System ===== 
- 
-These actions act directly on the operating system. 
- 
-  * [[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:ActionPixelColor|Pixel color]]: checks the color of a pixel and acts upon 
-  * [[en:actions:ActionKillProcess|Kill process]]: kills a process 
-  * [[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:ActionNotify|Notification]]: shows a notification (GNU/Linux only) 
-  * [[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 
-===== 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: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 
- 
-===== Procedures ===== 
- 
-These actions allows the creation and use of procedures. 
- 
-  * [[en:actions:ActionBeginProcedure|Begin procedure]]: declares a new procedure 
-  * [[en:actions:ActionEndProcedure|End procedure]]: ends a procedure declaration 
-  * [[en:actions:ActionCallProcedure|Call procedure]]: calls a procedure 
- 
- 
----- 
-Go back to [[en:start|homepage]] 
- 
-Other languages for this page : [[fr:actions|(fr)]] 
en/actions.txt ยท Last modified: 2021/02/13 11:23 (external edit)