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 [2016/06/24 18:58] JMichaelTX [1. Operation Choices] ADD units are points |
action:Manipulate_a_Window [2021/10/12 01:10] (current) peternlewis [See Also] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{:action:window-icon.png?nolink |}} | ||
====== Manipulate a Window Action ====== | ====== Manipulate a Window Action ====== | ||
- | The //**Manipulate a Window**// [[:Actions|Action]] allows you to operation 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 //points//, not //pixels//**, as stated on several of the //**Manipulate a Window**// Actions. So a retina screen will have half as many points as 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.png?nolink|}} | + | {{:action:km-manipulate-window-action-no-points.png?nolink|}} |
- | + | ||
- | + | ||
- | ---- | + | |
===== Configuration Options ===== | ===== Configuration Options ===== | ||
Line 20: | Line 16: | ||
- **Application** that contains the Window | - **Application** that contains the Window | ||
+ | ==== 1. Action Choices ==== | ||
- | ---- | + | All units (except percent) are in //nominal resolution pixels//. |
- | + | ||
- | ==== 1. Action Choices ==== | + | |
- | All units (except percent) are in points, even though the Action says "pixels". | + | |
*Scale size by. | *Scale size by. | ||
Line 44: | 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. |
- | *the window with window index. | + | * 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 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 53: | Line 53: | ||
*Select from list of running, recent, or available applications | *Select from list of running, recent, or available applications | ||
*Front Application | *Front Application | ||
- | |||
- | ---- | ||
- | |||
===== See Also ===== | ===== See Also ===== | ||
- | |||
- | ---- | ||
=== Actions === | === Actions === | ||
Line 95: | 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%]] | ||
Line 100: | Line 96: | ||
* [[token:WindowSize|%WindowSize%]] | * [[token:WindowSize|%WindowSize%]] | ||
* [[:Tokens|See all Tokens]] | * [[:Tokens|See all Tokens]] | ||
- | |||
- | ---- | ||
==== Forum ==== | ==== Forum ==== | ||
+ | - [[https://forum.keyboardmaestro.com/t/how-do-i-resize-a-window-on-my-external-monitor-screen/6952/15?u=jmichaeltx | Tips by @PeterNLewis]] | ||
- [[https://forum.keyboardmaestro.com/t/if-you-display-a-clipboard-how-do-you-explicitly-close-it-or-is-there-a-time-out-function/1279/3|If you display a clipboard, how do you explicitly close it or is there a time out function?]] | - [[https://forum.keyboardmaestro.com/t/if-you-display-a-clipboard-how-do-you-explicitly-close-it-or-is-there-a-time-out-function/1279/3|If you display a clipboard, how do you explicitly close it or is there a time out function?]] | ||
- [[https://forum.keyboardmaestro.com/t/two-step-split-window-macro/2626|Two Step Split Window Macro]] | - [[https://forum.keyboardmaestro.com/t/two-step-split-window-macro/2626|Two Step Split Window Macro]] | ||
Line 110: | Line 105: | ||
- [[https://forum.keyboardmaestro.com/t/close-window-missing-quickeys-user-wants-to-know/3278/2|Close Window missing? Quickeys user wants to know!]] | - [[https://forum.keyboardmaestro.com/t/close-window-missing-quickeys-user-wants-to-know/3278/2|Close Window missing? Quickeys user wants to know!]] | ||
- | - [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+Close+Window|Keyboard Maestro Forum topics about Close Window]] | + | - [[https://forum.keyboardmaestro.com/search?q=%22Close%20Window%22|Keyboard Maestro Forum topics about Close Window]] |
- | - [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+Move+Window|Keyboard Maestro Forum topics about Move Window]] | + | - [[https://forum.keyboardmaestro.com/search?q=%22Move%20Window%22|Keyboard Maestro Forum topics about Move Window]] |