Page 1 of 1

Noob question: How to save data to a file

Posted: 22 Jul 2018 10:51
by aximili
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)

Re: Noob question: How to save data to a file

Posted: 22 Jul 2018 13:24
by anuraag
Try following flow
It will create a text file with format you want
http://automagic4android.com/flow.php?i ... f8140ad053

Re: Noob question: How to save data to a file

Posted: 24 Jul 2018 11:07
by aximili
Wow so easy! Thanks very much anuraag!