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

how to stop previous app in tasker?

haima123

Newbie
tell me please if am runing to apps for exmpale
the first app at 1500
and second one is at 1700
how can i cancel the opreation of the first app in the interval between the 2 apps
beacuse i am a begginer at this and dont know how to use the varbiles in tasker
can you tell me how to do it like in exmpale file i attached here
 

Attachments

  • exmpale.jpg
    exmpale.jpg
    68.2 KB · Views: 134
Tasker has a fairly long learning curve. I used it for a little over a year before I was comfortable with it.

The way to learn it is to start out with something simple … get it to work … tweak it … get the tweaked version to work.

You need to learn how the rest of the world discusses the subject … that takes time.

The Profile Time trigger is one of the most complicated.

The solution to your question is to use two profiles to control each App.

An example follows …
Astart runs for one minute at 7:30a and launches the app Calculator.
Astop runs for one minute at 7:31a and Kills the app Calculator.

This appears to do what you need based on my testing. I cannot guarantee that it does.

Profile: Astart
Time: 7:30AM
Enter: Anon
A1: Launch App [ App:Calculator Data: Exclude From Recent Apps:Off Always Start New Copy:On Continue Task After Error:On ]
A2: Stop [ With Error:Off Task: ]

Profile: Astop
Time: 7:31AM
Enter: Anon
A1: Go Home [ Page:0 ]
A2: Kill App [ App:Calculator Use Root:Off ]
A3: Stop [ With Error:Off Task: ]

Since Calculator uses the full screen the recommendation from Tasker was to issue a Go Home before the Kill App.

… Thom
 
Tasker has a fairly long learning curve. I used it for a little over a year before I was comfortable with it.

The way to learn it is to start out with something simple … get it to work … tweak it … get the tweaked version to work.

You need to learn how the rest of the world discusses the subject … that takes time.

The Profile Time trigger is one of the most complicated.

The solution to your question is to use two profiles to control each App.

An example follows …
Astart runs for one minute at 7:30a and launches the app Calculator.
Astop runs for one minute at 7:31a and Kills the app Calculator.

This appears to do what you need based on my testing. I cannot guarantee that it does.

Profile: Astart
Time: 7:30AM
Enter: Anon
A1: Launch App [ App:Calculator Data: Exclude From Recent Apps:Off Always Start New Copy:On Continue Task After Error:On ]
A2: Stop [ With Error:Off Task: ]

Profile: Astop
Time: 7:31AM
Enter: Anon
A1: Go Home [ Page:0 ]
A2: Kill App [ App:Calculator Use Root:Off ]
A3: Stop [ With Error:Off Task: ]

Since Calculator uses the full screen the recommendation from Tasker was to issue a Go Home before the Kill App.

… Thom
hey tom thanks but i dont know how to write those lines of commands
can u tell me how 2 do it like its written in the file i attached
 

Attachments

  • exmpale.jpg
    exmpale.jpg
    68.2 KB · Views: 155
This attachemtn does not show anything other than four profiles and one task name in an alphabet that I do not use.

I posted two Profile/Tasks that control the start and stop of a sample app … in this case Calculator.

What is it that is not clear?

If Tasker is to challenging you may find that you like MacroDroid better.

… Thom
 
Back
Top Bottom