User Tools

Site Tools


condition:Front_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
Last revision Both sides next revision
condition:Front_Window [2017/09/06 00:50]
peternlewis
condition:Front_Window [2017/09/07 22:46]
peternlewis
Line 1: Line 1:
-###Front Window Condition 
 The //Front Window condition// looks at the front window of a specified application (or the front application) to determine if: The //Front Window condition// looks at the front window of a specified application (or the front application) to determine if:
  
Line 13: Line 12:
 * the title does not match a specified regular expression. * the title does not match a specified regular expression.
 * it exists but the title does not match a specified regular expression. * it exists but the title does not match a specified regular expression.
 +* is full screen.
 +* is not full screen.
 +* it exists but is not full screen.
  
 ==== Using the Front Window Title with the Pause Until Action ==== ==== Using the Front Window Title with the Pause Until Action ====
 +
 If you are using Keyboard Maestro to execute some type of UI action that uses a dialog window (like Open, Save, Save As), you can use the **[[action:​Pause_Until|Pause Until]]** action to pause based on the Window Title, which will often change during the process. If you are using Keyboard Maestro to execute some type of UI action that uses a dialog window (like Open, Save, Save As), you can use the **[[action:​Pause_Until|Pause Until]]** action to pause based on the Window Title, which will often change during the process.
  
 To determine the Window Titles during the process, create a **test** macro with a [[action:​Set_Variable_to_Text|Set Variable to Text]] action, and leave it visible while you go through the manual steps. To determine the Window Titles during the process, create a **test** macro with a [[action:​Set_Variable_to_Text|Set Variable to Text]] action, and leave it visible while you go through the manual steps.
  
-For example:​\\ +For example: \\ 
-{{:​condition:​km-window-title.png?​500|}}\\+{{:​condition:​km-window-title.png?​500|}} 
 The macro will show the results without running it as you go through the manual steps. The macro will show the results without running it as you go through the manual steps.
 If the Window Title changes during/​after your process, you can use that in a [[action:​Pause_Until|Pause Until]] action. If the Window Title changes during/​after your process, you can use that in a [[action:​Pause_Until|Pause Until]] action.
Line 70: Line 74:
 * [[:​Tokens|See all Tokens]] * [[:​Tokens|See all Tokens]]
  
----- 
condition/Front_Window.txt · Last modified: 2022/12/03 13:23 by ccstone