Page 1 of 1
Detect when an app has finished playing an advert.
Posted: 13 Nov 2018 18:05
by robchoc
Is it possible to detect when an app has finished playing an advert so that I can then exit it, using an automation script?
If I exit it too early I will lose points and too late and I'm wasting precious time.
Thanks
Re: Detect when an app has finished playing an advert.
Posted: 13 Nov 2018 20:05
by Martin
There's no official way. Check if trigger UI Event can detect the events (see button Recent events) and then use Control UI to simulate the required taps to close the advert.
Regards,
Martin
Re: Detect when an app has finished playing an advert.
Posted: 15 Nov 2018 18:44
by Desmanto
The other way is using Control UI with looped sleep as explained before. Loop the script, waiting for certain elements to appear before proceed on clicking it.
Re: Detect when an app has finished playing an advert.
Posted: 15 Nov 2018 20:27
by beelze
Just reading the post...
But if there aren't any elements, only graphics? It would be very helpful to have an ability to [fuzzy] «search image withing image». E.g. load bitmap from file and search it on the screen
