Hello,
I want to use a shortcut to make the following:
1) after hitting the shortcut the app "GBAHours" ( for control the driving time and mileage ) will be started
2) I type my time and the mileage in GBAHours and only if I close the app the next step 3) will be started. If I don't close the app goto 2)
3) a second app "Blitzer" is starting. There is no need to type in anything. It works in the background.
4) My Tomtom-app is starting and is in the foreground to type in my destination.
How can I wait for ending of the app GBAHours? Now I use a condition "app task is running". If the answer is "yes" there should be an endless loop for the condition test. Only if the answer is "no" start the second and third app.
Please can you help me how I can do this?
Thank you.
Lutz
BTW: I cannot use your own Gleeo Time tracking because I'm a technician with a lot of customers ( about 50 ) and different kinds of job ( installing, repair, qualification, driving to customer, driving from customer ). Gleeo cannot handle this, isnt it?
GBAHours is good for doing this but cannot save the entries in my google calender. If I could do this with Gleeo/Automagic this would be great.
BTW2: Sorry for my bad english.
Newbie question - start app and wait for exit
Moderator: Martin
Re: Newbie question - start app and wait for exit
Hello Lutz,
You can use a condition "App task running" and create a loop (see the Countdown example in the catalog for a loop). Include an action Sleep: ~5s in the loop to slow down the loop a bit.
Another option is to use a second flow with a trigger "App Task ended: ...GBAHours" and add the actions for Blitzer and Tomtom in this flow. Enable the second flow using an action "Set Flow State" from the first flow and disable the flow again when the second flow finishes.
Gleeo has no customer fields, only project and task. You could enter the customer name in the project or the task field or use a naming convention like "customer/task" in the task field and later split the combined field in an external tool like excel to create detailed reports.
Regards,
Martin
You can use a condition "App task running" and create a loop (see the Countdown example in the catalog for a loop). Include an action Sleep: ~5s in the loop to slow down the loop a bit.
Another option is to use a second flow with a trigger "App Task ended: ...GBAHours" and add the actions for Blitzer and Tomtom in this flow. Enable the second flow using an action "Set Flow State" from the first flow and disable the flow again when the second flow finishes.
Gleeo has no customer fields, only project and task. You could enter the customer name in the project or the task field or use a naming convention like "customer/task" in the task field and later split the combined field in an external tool like excel to create detailed reports.
Regards,
Martin
Re: Newbie question - start app and wait for exit
Hello Martin, thanks for your help. Now it works very well.
http://automagic4android.com/flow.php?i ... 0cbbb02610
http://automagic4android.com/flow.php?i ... 0cbbb02610