• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

tasker: pause task

nyydynasty

Android Expert
I'm trying to find a way to get tasker to pause a currently running task until I tell it to continue. I'm imagining a button appearing in the notification bar that says "resume" or something like that.

is there a way to do this?
 
It depends a bit on what the task does.
Can you give more details, or even better, exactly what the task does, and what profile triggers it?
 
so, to give you some more info, after I wipe/flash a new rom, I have some apps that I need to open and reconfigure (TiBu restores the app but I still need to login to them, etc..)

So I setup a task that I manually run and it's programmed to open a certain set of apps and i have a "wait:10 seconds" task in between each app to give me enough time to login and then the next app opens.

it just saves me some time and I just wanted to see if something like this CAN be done.

Anyway, is there a way to pause the task when it launches app#1 so i can do what I need and click 'resume' and it'll continue with App#2, etc... ?
 
If I understand right, since the pause would happen within these 10 seconds breaks between logins, then yes, it would be easy to implement.

Create a variable %PauseLoginProcess, for example, with a default value of "no".

Then, instead of having:
Do something
Task > Wait > Seconds = 10
Do something else


Have something like:
Do something
Task > Wait > Seconds = 10, Until %PauseLoginProcess ~ no (see Until section in the Wait action)
Do something else


Then a switch on your home screen, for example, would set %PauseLoginProcess alternatively to yes and no.
 
Back
Top Bottom