Difference between revisions of "Trigger: System Setting Change"

(Created page with "<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">This trigger fires when a system setting from the device's system, secure or global s...")
 
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">This trigger fires when a system setting from the device's system, secure or global settings table is updated.
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">This trigger fires when a system setting from the device's system, secure or global settings table is updated.
 
</pre>
 
</pre>
 
'''Example Usage #1'''<br/>
 
 
<pre style="background-color: #E53935; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
 
System Setting Change .. Any
 
</pre><br>
 
<pre style="background-color: #3498DB; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
Set Variable .. system_setting_category: [system_setting_category]
 
Set Variable .. system_setting_key: [system_setting_key]
 
Set Variable .. system_setting_value: [system_setting_value]
 
Popup Message .. [lv=system_setting_category]:[lv=system_setting_key]:[lv=system_setting_value]
 
</pre><br>
 
<pre style="background-color: #00838F; color: white; border-radius: 10px; padding: 10px;">
 
Local variables
 
 
system_setting_category
 
system_setting_key
 
system_setting_value
 
</pre><br>
 
 
 
 
'''Example Usage #2'''<br/>
 
 
<pre style="background-color: #E53935; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
 
System Setting Change .. accessibility_display_inversion_enabled
 
</pre><br>
 
<pre style="background-color: #3498DB; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
Set Variable .. system_setting_category: [system_setting_category]
 
Set Variable .. system_setting_key: [system_setting_key]
 
Set Variable .. system_setting_value: [system_setting_value]
 
If system_setting_category = Secure AND system_setting_key = accessibility_display_inversion_enabled
 
  If system_setting_value = 1
 
    Popup Message .. Color inversion on
 
  Else
 
    Popup Message .. Color inversion off
 
</pre><br>
 
<pre style="background-color: #00838F; color: white; border-radius: 10px; padding: 10px;">
 
Local variables
 
 
system_setting_category
 
system_setting_key
 
system_setting_value
 

Latest revision as of 18:50, 23 January 2024

This trigger fires when a system setting from the device's system, secure or global settings table is updated.