I am trying to extract data and perform logic from the results return from the "Init Variable Notifications on Statusbar" action.
I have searched, but didn't find an example to take from.
I would imagine that this would be logic that I would put into a script action.
What I am trying to do is:
- Determine if there is a notification present for a certain application. (for example automagic, google play, etc)
- If so, does the notification text (notification_info_text) contain a string.
Hopefully that is sufficiently clear.
If anybody can point me to an example, that would be appreciated.
Thank you in advance for the assistance.
Help with extracting data from "Init Variable Notific...."
Moderator: Martin
Re: Help with extracting data from "Init Variable Notific...
You can use my variable logger flow : viewtopic.php?f=3&t=7285
Change the trigger to Notification on Statusbar and match * (all notification). Let it run for a while and gather all the necessary notification. Later you can analyze which variable contain the text or things you need. Or maybe you can spot a pattern for certain app.
Change the trigger to Notification on Statusbar and match * (all notification). Let it run for a while and gather all the necessary notification. Later you can analyze which variable contain the text or things you need. Or maybe you can spot a pattern for certain app.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Help with extracting data from "Init Variable Notific...
Sorry for the late reply, but I forgot to set the thread to notify me on replies.Desmanto wrote:You can use my variable logger flow : viewtopic.php?f=3&t=7285
Change the trigger to Notification on Statusbar and match * (all notification). Let it run for a while and gather all the necessary notification. Later you can analyze which variable contain the text or things you need. Or maybe you can spot a pattern for certain app.
Thank you very much for the assistance - I think this should help quite a bit.