Sometimes you wonder if you can change a certain setting on your device but don't know what setting that is.
With this method you can find what setting does what very easily.
STEP 1 - LIST ALL SETTINGS
STEP 2 - CHANGE SETTING ON DEVICE
Change the setting you want to find on your device. In this example I toggled the Adaptive Brightness setting
STEP 3 - CHECK WHAT THE SETTING IS
- clear your command line with cls or clear or any similar command
- list all three system, global and secure settings again
- Copy the full listing to the second comparison window in WinMerge
- Press F5 to refresh the comparison
- The changed setting should now be highlighted
STEP 4 - CHANGE SETTING IN TASKER
- In Tasker, add the AutoTools Secure Settings action
- Go to Custom Setting
- In the Setting Type field select the type that you found corresponded to the setting that changed. In this case it was a System setting
- In the Name field write the name of the setting that changed. In this case it was the screen_brightness_mode setting
- In the Input Type you have to guess which to use. You can usually tell by the value the setting has already. In this example I know this is a toggle so I'll use the Toggle type. If one type doesn't work for you keep trying different types until it works.
- In the value set the new value for the setting. In this example I want to toggle it, so I'll set it to 3.
- Back out to Tasker, and run the task. The setting should now toggle!