Difference between revisions of "Constraint: Macro(s) Invoked/Not invoked Recently"

(Created page with "This constraint can be used to allow/prevent a macro being invoked if one or more specific macros have/have not recently been run.")
 
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
This constraint can be used to allow/prevent a macro being invoked if one or more specific macros have/have not recently been run.
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether another macro was invoked recently.</pre>
 +
 
 +
''' Options '''
 +
 
 +
* '''Invoked/Not Invoked''' - Check if the macro ran within a set time window
 +
* '''Time Period''' - Configure the time window
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Run a daily macro backup only if it has not been run manually within the last 24 hours''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Day/Time Trigger - 00:00
 +
Shortcut Launched Trigger</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Export Macros</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
OR
 +
  Trigger That Fired - Shortcut Launched Trigger
 +
  Macro(s) Invoked/Not invoked Recently - Not invoked (Backup Macro, 24 hours)</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Constraint: Macro Running|Macro Running Constraint]]

Latest revision as of 13:01, 9 January 2026

This constraint allows or prevents a macro/feature from running based on whether another macro was invoked recently.

Options

  • Invoked/Not Invoked - Check if the macro ran within a set time window
  • Time Period - Configure the time window

Example

Example 1: Run a daily macro backup only if it has not been run manually within the last 24 hours

Triggers

Day/Time Trigger - 00:00
Shortcut Launched Trigger
Actions

Export Macros
Constraints

OR
  Trigger That Fired - Shortcut Launched Trigger
  Macro(s) Invoked/Not invoked Recently - Not invoked (Backup Macro, 24 hours)

See Also