User Tools

Site Tools


action:Manipulate_a_Window

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
action:Manipulate_a_Window [2016/03/02 04:04]
JMichaelTX ADD screenshot, icon, reformat body
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**// ​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). ​
  
-This action is in the //Interface Control// Action Categoryand the default configuration is set for the **//Scale size by//** Operation:+:!:  **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.
  
-{{:action:km-manipulate-window-action.png?​nolink|}}+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|}}
-----+
  
 ===== Configuration Options ===== ===== Configuration Options =====
  
-You will need to select (by popup button ( {{:​action:​km-double-vertical-arrows.png?​nolink|}} ) a choice for each of the following:​ +You will need to select (by popup button ( {{:​action:​km-double-vertical-arrows.png?​nolink|}} ​)) a choice for each of the following:​ 
-  - Operation to perform+  - **Operation** to perform
   - **Window** to act on   - **Window** to act on
   - **Application** that contains the Window   - **Application** that contains the Window
  
 +==== 1. Action Choices ====
  
----- +All units (except percent) are in //nominal resolution pixels//.
- +
-==== 1Operation Choices ====+
  
   *Scale size by.   *Scale size by.
Line 41: 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 51: Line 54:
   *Front Application   *Front Application
  
-----+===== See Also =====
  
 +=== Actions ===
  
-===== See Also =====+* [[action:​Bring Application Windows to Front]] 
 +* [[action:​Login Window|Login Window]] 
 +* [[action:​Move or Click Mouse|Move or Click Mouse]] 
 +* [[action:​New_Google_Chrome_Window|]] 
 +* [[action:​New_Safari_Window]] 
 +* [[:​Actions|See all Actions]] 
 + 
 +===  ​Conditions ​==
 + 
 +* [[condition:​Any Window|]] 
 +* [[condition:​Front Window|]] 
 +* [[:​Conditions|See all Conditions]] 
 + 
 +=== Functions ​==
 + 
 +* [[function:​MENUBARHEIGHT|MENUBARHEIGHT()]] 
 +* [[function:​MOUSEBUTTON|MOUSEBUTTON()]] 
 +* [[function:​MOUSEX|MOUSEX()]] 
 +* [[function:​MOUSEY|MOUSEY()]] 
 +* [[function:​SCREEN|SCREEN()]] 
 +* [[function:​SCREENCOUNT|SCREENCOUNT()]] 
 +* [[function:​SCREENVISIBLE|SCREENVISIBLE()]] 
 +* [[function:​WINDOW|WINDOW()]] 
 +* [[function:​WINDOWCOUNT|WINDOWCOUNT()]] 
 +* [[:​Functions|See all Functions]]
  
-==== Documentation ====+=== Tokens ​===
  
-* [[action:Move or Click Mouse|action:Move or Click Mouse]] +* [[token:FrontWindowFrame|%FrontWindowFrame%]] 
-* [[function:MENUBARHEIGHT|function:​MENUBARHEIGHT]][[function:MOUSEBUTTON|function:​MOUSEBUTTON]][[function:MOUSEX|function:​MOUSEX]][[function:MOUSEY|function:​MOUSEY]][[function:SCREEN|function:​SCREEN]][[function:SCREENCOUNT|function:​SCREENCOUNT]][[function:SCREENVISIBLEfunction:​SCREENVISIBLE]][[function:WINDOW|function:​WINDOW]][[function:WINDOWCOUNT|function:​WINDOWCOUNT]]+* [[token:FrontWindowName|%FrontWindowName%]] 
 +[[token:FrontWindowPosition|%FrontWindowPosition%]] 
 +[[token:FrontWindowSize|%FrontWindowSize%]] 
 +[[token:LastWindowID|%LastWindowID%]] 
 +[[token:WindowFrame|%WindowFrame%]] 
 +[[token:WindowName|%WindowName%]] 
 +[[token:WindowPosition|%WindowPosition%]] 
 +[[token:WindowSize|%WindowSize%]] 
 +[[: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/​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]]
 - [[https://​forum.keyboardmaestro.com/​t/​move-window-to-top-right/​2935/​2|Move window to top right]] - [[https://​forum.keyboardmaestro.com/​t/​move-window-to-top-right/​2935/​2|Move window to top right]]
-- [[https://www.google.fr/​webhp?​aqs=chrome..69i57.14628j0j7&​gws_rd=cr&​ei=_BSvVse8Ecb9acLtidAB#​q=site:​forum.keyboardmaestro.com+Move+Window|Keyboard Maestro Forum topics about Move Window]]+- [[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/​search?​q=%22Close%20Window%22|Keyboard Maestro Forum topics about Close Window]]
 +- [[https://​forum.keyboardmaestro.com/​search?​q=%22Move%20Window%22|Keyboard Maestro Forum topics about Move Window]]
action/Manipulate_a_Window.1456909488.txt.gz · Last modified: 2016/03/02 04:04 by JMichaelTX