Hi,
I'd like to automate the start of two applications.
The first one is "Blitzer.de PLUS" and the second one "iGO".
Ofc there is a simple way by starting Blitzer.de and then using an Expression like "sleep(7500)" (or pause, etc.) but
I'd like to start iGO when the UI of Blitzer.de becomes visible after starting. The startup time of Blitzer.de varies a bit...
Why is this important? If I don't start iGo a few seconds after Blitzer.de, Blitzer.de will still be in the foreground and I have to swipe down to select iGO again.
I want to avoid this
So, is there any trigger kind of trigger that could be used to achieve this?
Wait until an application becomes the foreground app?
Moderator: Martin
Re: Wait until an application becomes the foreground app?
This might help you: http://automagic4android.com/flow.php?i ... 16fa217024highend wrote:Hi,
So, is there any trigger kind of trigger that could be used to achieve this?
After starting Blitzer.de PLUS use a loop with a 1 second sleep to check when condition "app task running" and "index == 0" becomes true, the start the other app.
Abort after 20 cycles if condition is not met to avoid an infinite loop.