Window actions


These action allow for the manipulation of application windows:

Actions Description 
Focus Activates a window, bringing it to the front and giving it keyboard focus.
Move Moves a window to a specified point on screen.
Resize Resizes a window to a specified point on screen or to a specific size.
Close Closes a window.
Minimize Minimizes a window. In macOS, this sends the window into the Dock, the equivalent of pressing the yellow button in the window's title bar. In Windows, this minimizes the window to the task bar.
Zoom Zooms a window. In macOS 10.10 and later, this is the equivalent of pressing the green button in the title bar while the option key is pressed, or double clicking the title bar. In macOS 10.9 and earlier, this is the equivalent of pressing the green button in the title bar.
Full-screen Toggles whether a window is full-screen. In macOS 10.10 and later, this is the equivalent of pressing the green button in the title bar. In macOS 10.9 and earlier, this is the equivalent of pressing the full-screen button in the title bar.

They are presented in the Macro editor as follows:

Depending on the action selected some or all of the following options will be available:

apply action to meaning 
currently focused window whichever window currently is focused
window under the mouse cursor whichever window is currently under the mouse cursor
window from the last window action whichever window was the target of the previous window action. These actions include "Focus Window", "Move Window", "Resize Window", "Close Window", "Minimize Window", "Zoom Window", and "Full-screen Window". If there is no previous window action, an error will occur.
specific window specific window, as defined in the the "Window" option.
Move and resize only  
target The method used to determine how the window will be resized/moved.

Options include:

  • UI Element: the window will be resized based on the position of a UI element.
  • Fixed Screen Position: the window will be resized to a specific point on screen, defined in global screen coordinates
  • Proportional Screen Position: the window will be resized to a point on screen, defined in normalized coordinates.
  • Specific Size:(resize only) the window will be resized to a specific size, with the width and height defined in pixels.

‚ÄčTarget = UI element
UI element: The UI element that determines the target point.
If the basic UI element selection is insufficient to identify the required window the UI element editor allows you to set up very specific criteria for selecting the window if required. One example of how this could be especially helpful for windows in particular is that when Flexi-deck is searching for a matching window, it allows you to pick exactly which attributes the target window should have. In some cases you may want it to match based on the window's title, but in other cases the window's title may change and you may want to use (for example) its size, its order amongst other windows, how many children it has, and other unique qualities.

Target = Fixed screen position
Position: The point on screen that will be the target, in global screen coordinates. Click the "Set" button to visually select a point on screen.

Target = Proportional screen
Display: Chooses the display that will contain the target. In addition to being able to pick a specific display, this can also be set to "Display Containing Mouse" and "Display Containing Window".

Position: The normalized coordinates that will be the target. A value of 0% indicates either the leftmost or topmost side of the display, and 100% indicates either the rightmost or bottommost part of the display. A position 50% for X and 50% for Y indicates the exact center of the display.

Target = Specific Size
Size: The exact width and height that the window will be sized to, defined in pixel lengths.

size or corner move: Determines which point of the window will be moved to the target. If a corner is picked, that window's corner will be moved to the target. If a side is picked, the center point on that window's side will be moved to the target. If the exact center is picked, the window's center will be moved to the target.

resize: Determines which point of the window will be coincident with the target after resizing. If a corner is picked, that window's corner will be coincident with the target, and the opposite corner will remain unmoved. If a side is picked, the center point on that window's side will be coincident to the target, with the opposite side remaining the same length and in the same position. If "Target" is set to "Specific Size" and the center is picked, the window's center point will remain fixed and all four of the sides will be adjusted.

The UI element that determines the target point.
The UI element that determines the target point.
Search