I've got about 20 profiles, that I disable conditionally. From time to time, I have to enable all profiles again. I could just run the profile status action on all of them but this takes very long. Instead I want to enable only those, that aren't in %PENABLED.
> I've just encountered a problem with %PENABLED.
This was reported recently by another user and I can confirm it is not working correctly on my device. We will have to wait for pent to get back from vacation then I would bump this post.
I've disabled some profiles, exited the UI, opened again and %PENABLED is still not updated. Exited again, opened again and %PENABLED is finally updated.
Something seems to be off there still. It would be great if profile changes would take effect if I apply the changes I. The UI. If I do nothing but change a profile state the apply button shows up giving the impression it would apply profile changes as well.
If I chance a profile state from within a scene of an exported app, it will take effect immediately, correct?
> I created a widget to flash %PENABLED and toggled some profiles,
> behaved as expected. The UI must be exited before profile changes
> take effect, perhaps that's the problem ?
Hope you had a great vacation and were able to actually relax and enjoy it.. :)
I can test more this evening, but when I was testing this before I simply made a profile to monitor %PENABLED and set a notification on any change to %PENABLED (event/variable set context). Then after enabling or disabling a profile I backed out of tasker and some times the profile would fire instantly but other times it would take several minutes to fire even though I opened and closed tasker several times.
Profile Enabled? (13)
<Look for the passed named profile in the %PENABLED variable>
A1: Anchor
A2: Variable Set [ Name:%arraype To:%PENABLED Recurse Variables:Off Do Maths:Off Append:Off ]
A3: Variable Set [ Name:%found To:false Recurse Variables:Off Do Maths:Off Append:Off ]
A4: Variable Split [ Name:%arraype Splitter:, Delete Base:Off ]
A5: For [ Variable:%profile Items:%arraype() ]
A6: If [ %profile ~ %par1 ]
A7: Variable Set [ Name:%found To:true Recurse Variables:Off Do Maths:Off Append:Off ]
A8: Flash [ Text:%profile enabled Long:On ]
A9: Goto [ Type:End of Loop Number:0 Label: ]
A10: End If
A11: End For
A12: Flash [ Text:"%par1" not enabled Long:On ] If [ %found ~ false ]
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
Just tried it again. Few minutes later. Checker is now reporting the profile disabled. According to the log there was a Tasker stop Monitor restart and Tasker start between the two task runs.
In my mind "Apply" should update %PENABLED. How hard could it be? In addition to whatever Apply does have it read the context switch status and update %PENABLED.
In my mind "Apply" should update %PENABLED.
How hard could it be?