This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
action:Manipulate_a_Window [2021/10/11 22:18] peternlewis |
action:Manipulate_a_Window [2021/10/12 01:10] (current) peternlewis [See Also] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Manipulate a Window Action ====== | ====== Manipulate a Window Action ====== | ||
- | The //**Manipulate a Window**// [[:Actions|Action]] allows you to operate on a window, in a specified application, with a wide variety of actions like scale, move, resize, bring to front, etc. (see complete list below). | + | The //**Manipulate a Window**// action allows you to operate on a window, in a specified application, with a wide variety of actions like scale, move, resize, bring to front, etc. (see complete list below). |
:!: **Note: All units are in //nominal resolution pixels// (sometimes called points), not //raw pixels//**. So a typical retina screen will have half as many nominal resolution pixels as raw pixels. See the [[function:SCREEN|SCREEN function]] for more info. | :!: **Note: All units are in //nominal resolution pixels// (sometimes called points), not //raw pixels//**. So a typical retina screen will have half as many nominal resolution pixels as raw pixels. See the [[function:SCREEN|SCREEN function]] for more info. | ||
- | This action is in the //Interface Control// Action Category, and the default configuration is set for the **//Resize Front Window to Points//** Operation: | + | This action is in the //Interface Control// Action Category, and the default configuration is set for the **//Resize Front Window//** Operation: |
{{:action:km-manipulate-window-action-no-points.png?nolink|}} | {{:action:km-manipulate-window-action-no-points.png?nolink|}} | ||
Line 38: | Line 38: | ||
==== 2. Window Choices ==== | ==== 2. Window Choices ==== | ||
- | *the front window. | + | * the front window. |
- | *the window with title. | + | * the window with title. |
- | *windows with title containing. | + | * windows with title containing. |
- | *windows with title matching regular expression. | + | * windows with title matching regular expression. |
- | *the window with window index (Z-order, negative windows order from the back (eg -1 is last window)). | + | * the window with window index (Z-order, negative windows order from the back (eg -1 is last window)). |
+ | * the engine window with specified id. | ||
+ | * the last engine window. | ||
+ | |||
+ | You can get the window id from AppleScript, or using the [[token:LastWindowID|%LastWindowID%]] token. | ||
==== 3. Application Choices ==== | ==== 3. Application Choices ==== | ||
Line 85: | Line 90: | ||
* [[token:FrontWindowPosition|%FrontWindowPosition%]] | * [[token:FrontWindowPosition|%FrontWindowPosition%]] | ||
* [[token:FrontWindowSize|%FrontWindowSize%]] | * [[token:FrontWindowSize|%FrontWindowSize%]] | ||
+ | * [[token:LastWindowID|%LastWindowID%]] | ||
* [[token:WindowFrame|%WindowFrame%]] | * [[token:WindowFrame|%WindowFrame%]] | ||
* [[token:WindowName|%WindowName%]] | * [[token:WindowName|%WindowName%]] |