Changes

Line 43: Line 43:  
* ''''' Airplane Mode Toogle '''''
 
* ''''' Airplane Mode Toogle '''''
 
Toggles the current status of the airplane mode.
 
Toggles the current status of the airplane mode.
  −
==<p><b>Example</b></p>==
  −
  −
''''' This macro activates the airplane mode at night (22:00) and deactivates it in the morning (07:00).'''
  −
<br>
  −
  −
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
  −
Triggers
  −
  −
Day/Time Trigger
  −
22:00 Mon - Sun
  −
  −
Day/Time Trigger
  −
07:00 Mon - Sun
  −
</pre>
  −
  −
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
  −
If
  −
Trigger Fired: Day/Time Trigger
  −
22:00 Mon - Sun
  −
</pre>
  −
  −
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
  −
Actions
  −
  −
Airplane Mode On
  −
</pre>
  −
  −
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
  −
End If
  −
</pre>
  −
  −
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
  −
If
  −
Day/Time Trigger
  −
07:00 Mon - Sun
  −
</pre>
  −
  −
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
  −
Actions
  −
  −
Airplane Mode Off
  −
</pre>
  −
  −
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
  −
End If
  −
</pre>
  −
  −
<pre style="background-color: #387F3D; color: white; border-radius: 10px; padding: 10px;">
  −
Constraints
  −
  −
</pre>
  −
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
  −
Local variables
  −
  −
</pre><br>
 
editors
1,590

edits