Page 1 of 1

Help with extracting data from "Init Variable Notific...."

Posted: 14 May 2018 16:25
by ewill
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.

Re: Help with extracting data from "Init Variable Notific...

Posted: 14 May 2018 17:16
by Desmanto
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.

Re: Help with extracting data from "Init Variable Notific...

Posted: 22 May 2018 13:57
by ewill
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.
Sorry for the late reply, but I forgot to set the thread to notify me on replies.

Thank you very much for the assistance - I think this should help quite a bit.