Hello. Is there a way to trigger a flow when the content within the same application changes. If I use UI event it triggers only the first time an app is open. It doesnt trigger again when it gets to the next screen. Maybe it could be improved by setting the filter to look through the whole fields in that window.
There is a plugin for tasker that triggers on every ui update (it's called autoinput) and then let's you choose which field in the window has the text you're looking for.
Trigger UI event
Moderator: Martin
Re: Trigger UI event
Autoinput plugin should work with Automagic too. At least there is an implicating mention about that in another topic.
Also, the trigger provides some variables which contains info from the ui event. That might help you to filter relevant events with trigger itself or condition Expression.
Also, the trigger provides some variables which contains info from the ui event. That might help you to filter relevant events with trigger itself or condition Expression.
Re: Trigger UI event
The trigger UI Event also provides a way to react to different event types like 'Text changed'. Maybe this works for your case.
I'm aware that there are a few more events that could be monitored but this used to slow down the entire system in the past so I have not added every possibility.
I'm aware that there are a few more events that could be monitored but this used to slow down the entire system in the past so I have not added every possibility.
Re: Trigger UI event
Thanks for the answers. So running the activity com.google.android.googlequicksearchbox.MUSIC_SEARCH opens a screen and listens for a song. That triggers Ui event,window open; if it can't find a match then another screen opens saying that there was no match,blabla. This triggers the event again. However when it does find a match the new window with the result doesnt trigger at all. I don't know why.
And the autoinput plugin works how it should. The trigger used is UI update which I guess occurs very frequently. I'm gonna keep using this for now altough I would like an automagic-only solution. Thanks.
And the autoinput plugin works how it should. The trigger used is UI update which I guess occurs very frequently. I'm gonna keep using this for now altough I would like an automagic-only solution. Thanks.