Changes

no edit summary
Line 1: Line 1: −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on the current MacroDroid mode.</pre>
This constraint can be used to allow a trigger to fire only when in a specific MacroDroid mode.
+
 
</pre>
+
''' Options '''
 +
 
 +
* '''Mode''' - Select the mode to check
 +
* '''Enter Mode/Exit Mode/Any Change''' - Optionally check for a specific mode transition
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Enable Wi-Fi only when the Work mode is active''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Screen On/Off - Screen On</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Wifi Configure (Enable)</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
MacroDroid Mode - Work</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: MacroDroid Mode Change|MacroDroid Mode Change Trigger]]