UI Event

Post your questions and help other users.

Moderator: Martin

Post Reply
doc
Posts: 5
Joined: 02 Sep 2015 19:16

UI Event

Post by doc » 02 Sep 2015 19:50

Hi,

after using Tasker for quite a long time and ignoring what else happened in the area of phone automation I decided to try out some other apps. After playing around a little I see that with Automagic I can do everything I do in Tasker and the ui is very clear, which is nice. I have also been using AutoInput for quite some time, which is a plugin for Tasker. It basically does the same thing that UI Event and Control UI do. As far as I can see Automagic doesn't support Tasker plugins?
(That was the feedback part)

Anyway I consider Control UI and UI Event some of the most important features that I ever saw in any automation app, as they allow you to automate almost any app that there is. Control UI is implemented in a pretty smart way using the overlay control. Same thing should be possible with UI Event. Selecting an area which is then saved as a variable which you then can check in the event.
(That was the feature request part)

But thats what the thread is actually supposed to be about:
I installed the app NetMeter (if you want to try to reproduce) and set up a flow:
If the app is started, UI Event is triggered: The package name is *netmeter* and text is empty. If this is triggered a button is supposed to be pressed.
Problem is: if I start the app from homescreen the button is not pressed. Swiping down and up the status bar triggers the action.

I have read this:
Note: The system informs Automagic not about all events. Some events that occur very frequently can be skipped by the system.
but I know that it can work, as it does with AutoInput.
So either I'm doing something wrong or this is a bug.

Any ideas?

Thanks

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: UI Event

Post by Martin » 03 Sep 2015 19:47

Hi,

Automagic supports most plugins with trigger Plugin (trigger Plugin Event for some newer plugins like Pushbullet), condition Plugin and action Plugin. The Auto-plugins usually work but I did not test all of them (by far).

I agree that there could be a more comfortable way to configure the trigger UI Event. It's something I would like to improve but I'm somewhat short on time lately but I'll add it to the todo-list.

Not sure what's going on with the trigger UI Event for netmeter but I suspect that it might be caused by a timing issue when the app/window is opened but the final layout containing the button is not yet set.
Could you please add an action Sleep: 1s before executing action Control UI to see if this helps?

Regards,
Martin

Post Reply