First of all, I would like to thank you for developing Automagic, it's really a great app!
I'm a beginner (bought it today), so I would like to check you if I'm using it in the right way:
My goal is to run Skype from 15:00 to 22:00, quiting the app in the end of this interval.
First, I created 2 flows:
Flow 1 - Skype launch 15:00:
Trigger = Time = 15:00
Code: Select all
Launch App Skype
Trigger = Time = 22:00
Code: Select all
Kill App Skype
Kill App Process Skype
Set App Notification State Skype OFF
Set App Notification State Skype ON (these 2 lasts are just to hide the app notification)
But then I realized that Flow 1 just runs if it is exactly 15:00. If I restart the phone at 16:00, Skype would not be started.
To manage this problem, I created a third flow that runs at Automagic Startup and tests if Time is in between 15:00 and 22:00. If yes, it run Flow 1:
Flow 3 - Skype launch on restart
Trigger = Automagic Startup
Code: Select all
Condition Time Range between 15:00 and 22:00
If TRUE, Execute Flows: Skype Launch 15:00 (runs the Flow 1).
My questions are:
Do I need to create separated Flows to Launch and to Kill the app, or it is better to make it in the same Flow (maybe using a range time condition and making a loop until the end time is reached)?
Is that Flow 3 really necessary, or there is another solution more elegant to run a flow when I restart the phone after the start time?
What would you do to make the same thing?
Also, I have a technique question:
After Killing Skype app and process, Skype is still appearing in the Recent Apps List. Is there any Actin in Automagic to remove Skype from that list?
Thank you very much!