Noob question: How to save data to a file
Posted: 22 Jul 2018 10:51
I am new to Automagic and I'm not sure where to start with this. Hoping someone could guide me in the right direction.
I am creating my own auto-brightness formula, so I want to be able to create a CSV file like this:
AmbientLight,ScreenBright
0.0,-30
1.0,1
165.0,14
6800.0,100
and so on
How can I create a shortcut on Home screen, which when tapped, add a line to the CSV file with the current ambient light and the current screen brightness?
(so I am planning to adjust the screen brightness to a desired brightness (using Display Brightness) then press that shortcut to save my preference)
I am creating my own auto-brightness formula, so I want to be able to create a CSV file like this:
AmbientLight,ScreenBright
0.0,-30
1.0,1
165.0,14
6800.0,100
and so on
How can I create a shortcut on Home screen, which when tapped, add a line to the CSV file with the current ambient light and the current screen brightness?
(so I am planning to adjust the screen brightness to a desired brightness (using Display Brightness) then press that shortcut to save my preference)