Difference between revisions of "Constraint: Calendar Entry"

 
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 calendar event status.</pre>
  
This constraint can be used to allow a trigger to fire only when a calendar entry for the current time is set/not set.
+
''' Options '''
 +
 
 +
* '''Specific Calendar''' - Limit to a specific calendar
 +
* '''In Event / Not in Event''' - Check if you are currently within a matching event
 +
* '''Availability''' - Match busy, free or any state
 +
* '''Title/Description Match''' - Optionally match event text
 +
* '''Enable Regex''' - Use regular expressions for advanced title/description matching
 +
* '''Ignore Case''' - Case-insensitive matching for title/description
 +
* '''Ignore All-Day Events''' - Exclude all-day events from matching
 +
* '''Check in Advance''' - Evaluate a number of minutes before an event starts
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Enable DND while a meeting is active''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Screen On/Off - Screen On</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Priority Mode / Do Not Disturb (Priority Only)</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Calendar Entry - Busy</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: Calendar Event|Calendar Event Trigger]]
 +
* [[Action: Priority Mode / Do Not Disturb|Priority Mode / Do Not Disturb Action]]

Latest revision as of 11:13, 9 January 2026

This constraint allows or prevents a macro/feature from running based on calendar event status.

Options

  • Specific Calendar - Limit to a specific calendar
  • In Event / Not in Event - Check if you are currently within a matching event
  • Availability - Match busy, free or any state
  • Title/Description Match - Optionally match event text
  • Enable Regex - Use regular expressions for advanced title/description matching
  • Ignore Case - Case-insensitive matching for title/description
  • Ignore All-Day Events - Exclude all-day events from matching
  • Check in Advance - Evaluate a number of minutes before an event starts

Example

Example 1: Enable DND while a meeting is active

Triggers

Screen On/Off - Screen On
Actions

Priority Mode / Do Not Disturb (Priority Only)
Constraints

Calendar Entry - Busy

See Also