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

Tasker "feature"

I am running on a Motorola Droid Turbo 64GB under 4.4.4.

I think it is pretty common to have two states in Tasker and you want to toggle between them. Something like ...

AAAA1
A1: Flash [ Text:A1 Original Long:Off ]

AAAA2
A1: Flash [ Text:A2 Original Long:Off ]
A2: [X] Flash [ Text:A2 Changed Long:Off ]


AAAAtoggle
A1: If [ %AAAA ~ a2 ]
A2: Variable Set [ Name:%AAAA To:a1 Do Maths:Off Append:Off ]
A3: Perform Task [ Name:AAAA1 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
A4: Else
A5: Variable Set [ Name:%AAAA To:a2 Do Maths:Off Append:Off ]
A6: Perform Task [ Name:AAAA2 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
A7: End If

Simple little toggle of two simple Flash messages.

Now DisableAAAA2.A1 and Enable AAAA2.A2

Running AAAAtoggle displays AAAA.A1 and not AAAA.A2. I could find no way to get it to recognize the change in AAAA2 unless I reloaded Tasker.

I changed it back to Enable AAAA2.A1 and Disable AAAA2.A2 and could find no way to have Tasker recognize the changed code. I tried it again 10 minutes later and it was (apparently) recognized.

You are debugging something ... you make a change ... the error is still there ... you assumed that the change was actually made. What in fact you were doing was rerunning the same unaltered version.

Since it runs correctly if executed from the standalone task I assume this "feature" is in the Perform Task action.

... Thom
 
Last edited:
I got a response from the developer ... this is a known condition.

After you make the change ... go back to the main screen ... select Settings then select Exit then select Save First then start Tasker.

I asked him when it was necessary to go through this process. Was it only needed for the Perform Task action?

His response was that it should ALWAYS be used every time there was a change unless you used the Play button. With the Play button it ONLY applies the changes to the current task.

I suggested a button be added to "Record Changes" without the need to exit and restart. He said it was planned for the revision that was incorporating UI changes for Lollipop.

... Thom
 
Last edited:
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones