User Tools

Site Tools


en:actions:actionwindow

Differences

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

Link to this comparison view

en:actions:actionwindow [2016/10/09 09:10]
en:actions:actionwindow [2020/02/09 13:26] (current)
Line 1: Line 1:
 +====== Window ======
  
 +This action can execute an operation on a window such as resizing, moving, closing, etc.
 +
 +===== Standard parameters =====
 +==== Input parameters ====
 +== Window title ==
 +The title of the target window. A button allows you to select a window to get its title.
 +== Operation ==
 +The operation to execute on the window:
 +  * Close: closes the window
 +  * Kill process: kills the process that owns the window, this will close any other window owned by this process
 +  * Set foreground: sets the window on the foreground
 +  * Minimize: minimizes the window
 +  * Maximize: maximizes the window
 +  * Move: moves the window towards a point specified in the "​Move"​ parameter
 +  * Resize: resizes the window to a size specified in the "​Resize"​ parameter
 +== Move ==
 +The coordinates of the point where to move the window.
 +== Resize ==
 +The desired width and height of the window.
 +== Use borders ==
 +Use window borders when resizing the window. [//Added in Actionaz 3.2.0.//]
 +===== Exceptions =====
 +
 +  * [[en:​actions:​exceptions#​Bad parameter|Bad parameter]]
 +  * [[en:​actions:​exceptions#​Code error|Code error]]
 +  * [[en:​actions:​exceptions#​timeout|Timeout]]
 +  * [[en:​actions:​actionwindow#​unable_to_find_window|Unable to find the window]]
 +  * [[en:​actions:​actionwindow#​incorrect_action|Incorrect action]]
 +
 +==== Unable to find the window ====
 +<​BOOKMARK:​unable_to_find_window>​
 +
 +This exception is thrown when the target window cannot be found.
 +  * Default action: stop the script execution
 +
 +==== Incorrect action ====
 +<​BOOKMARK:​incorrect_action>​
 +
 +This exception is thrown when the chosen operation cannot the executed.
 +  * Default action: stop the script execution