Thank you again!
I think I can help you with the inversion of colors with Tasker.
This is a task that I made that toggles the native Color inversion in Android. Copy the content of this code frame to a file named like "filename.tsk.xml" and import it in Tasker long-pressing the "Tasks" tab:
Code:<TaskerData sr="" dvi="1" tv="5.0u3m"> <Task sr="task8"> <cdate>1494467036072</cdate> <edate>1502188130789</edate> <id>8</id> <nme>Toogle Invertir Color</nme> <pri>100</pri> <Action sr="act0" ve="7"> <code>548</code> <Str sr="arg0" ve="3">Invertir colores</Str> <Int sr="arg1" val="0"/> </Action> <Action sr="act1" ve="7"> <code>123</code> <Str sr="arg0" ve="3">settings get secure accessibility_display_inversion_enabled</Str> <Int sr="arg1" val="0"/> <Int sr="arg2" val="1"/> <Str sr="arg3" ve="3">%InversionColor</Str> <Str sr="arg4" ve="3"/> <Str sr="arg5" ve="3"/> </Action> <Action sr="act2" ve="7"> <code>37</code> <ConditionList sr="if"> <Condition sr="c0" ve="3"> <lhs>%InversionColor</lhs> <op>2</op> <rhs>0</rhs> </Condition> </ConditionList> </Action> <Action sr="act3" ve="7"> <code>123</code> <Str sr="arg0" ve="3">settings put secure accessibility_display_inversion_enabled 1</Str> <Int sr="arg1" val="0"/> <Int sr="arg2" val="1"/> <Str sr="arg3" ve="3"/> <Str sr="arg4" ve="3"/> <Str sr="arg5" ve="3"/> </Action> <Action sr="act4" ve="7"> <code>547</code> <Str sr="arg0" ve="3">%InversionColor</Str> <Str sr="arg1" ve="3">1</Str> <Int sr="arg2" val="0"/> <Int sr="arg3" val="0"/> <Int sr="arg4" val="0"/> </Action> <Action sr="act5" ve="7"> <code>43</code> </Action> <Action sr="act6" ve="7"> <code>123</code> <Str sr="arg0" ve="3">settings put secure accessibility_display_inversion_enabled 0</Str> <Int sr="arg1" val="0"/> <Int sr="arg2" val="1"/> <Str sr="arg3" ve="3"/> <Str sr="arg4" ve="3"/> <Str sr="arg5" ve="3"/> </Action> <Action sr="act7" ve="7"> <code>547</code> <Str sr="arg0" ve="3">%InversionColor</Str> <Str sr="arg1" ve="3">0</Str> <Int sr="arg2" val="0"/> <Int sr="arg3" val="0"/> <Int sr="arg4" val="0"/> </Action> <Action sr="act8" ve="7"> <code>38</code> </Action> <Action sr="act9" ve="7"> <code>130</code> <Str sr="arg0" ve="3">6500K</Str> <Int sr="arg1"> <var>%priority</var> </Int> <Str sr="arg2" ve="3"/> <Str sr="arg3" ve="3"/> <Str sr="arg4" ve="3"/> <Int sr="arg5" val="0"/> </Action> <Img sr="icn" ve="2"> <cls>com.gombosdev.displaytester.Activity_Start_CheckPlayServices</cls> <pkg>com.gombosdev.displaytester</pkg> </Img> </Task> </TaskerData>
It checks if it's enabled or disabled, saves it in a variable and then, if it's off, it will execute a shell command to enable it, and vice versa.
The fundamental thing is that you can toggle the color inversion entering in a terminal (with su) the command "settings put secure accessibility_display_inversion_enabled 1" or "settings put secure accessibility_display_inversion_enabled 0".
You can also check the value using "settings get secure accessibility_display_inversion_enabled".
And, if you want a complete list of all the settings you can change in Android, you can introduce in a shell "settings list system/secure/global". The third value of that command is the name of the category of settings, because there are three settings categories.
For more information, just enter "settings" in a terminal like Termux.
You can then assign that task to a gesture in Swipe Navigation (recommended), GMD Gesture Control, or whatever.
Thank you for your help! Kind regards.
That works perfectly, thanks very much! :highfive: Yup I've used SwipePad for launching shortcuts for a long time.