Changes

418 bytes added ,  22:38, 2 February 2021
no edit summary
Line 6: Line 6:     
By default if adding more than one constraint to a macro they will be combined with an AND condition (e.g. all added constraints must be true). This can be changed in the dropdown in the constraints title to an OR condition. In this case only one of the added constraints needs to be true for the macro to run.
 
By default if adding more than one constraint to a macro they will be combined with an AND condition (e.g. all added constraints must be true). This can be changed in the dropdown in the constraints title to an OR condition. In this case only one of the added constraints needs to be true for the macro to run.
 +
 +
<strong>Nesting constraints</strong>
 +
 +
If you need more sophisticated logic applied to constraint there is a special AND/OR/XOR/NOT constraint that can be used. Any constraints nested under the logic constraint will have that logic operator applied. It's also possible to nest multiple logic constraints to create complex logic.
 +
 +
For example.
 +
 +
AND
 +
| - Constraint 1
 +
| - OR
 +
    | - Constraint 2
 +
    | - Constraint 3
    
== List of Constraints ==
 
== List of Constraints ==
    
[[Airplane Mode]]
 
[[Airplane Mode]]