| 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 screen brightness.</pre> |
| − | This constraint can be used to allow/prevent a macro running based on the current brightness setting of the device. | + | |
| − | </pre> | + | ''' Options ''' |
| | + | |
| | + | * '''Above/Below''' - Check if brightness is above or below a set percentage |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Lower brightness automatically for reading apps'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Application Launched/Closed - Launched (Kindle)</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Brightness (30%)</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Brightness - Above 30%</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Action: Brightness|Brightness Action]] |