Changes

no edit summary
Line 1: Line 1: −
<span style="color: #0E9549; font-size: 24px;">'''About this constraint '''</span>
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether another macro was invoked recently.</pre>
   −
This constraint can be used to allow/prevent a macro being invoked if one or more specific macros have/have not recently been run.
+
''' 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]]