User Tools

Site Tools


en:actions:actionwindow

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

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
en/actions/actionwindow.txt · Last modified: 2021/02/13 11:23 by 127.0.0.1