Tiwas
Lurker
Hi,
I'm trying to create a task that will only run if none of the specified profiles are active. But...before I can do that I need to get the list of active profiles. After a lot of fiddling around, here's where I'm at:
Tasker displaying "Hjemme" and "From 23:00 till 06:00" as active
Task:
Variable set %pactive to %PACTIVE
Flash text %pactive
%PACTIVE
%PACTIVE(#)
%PACTIVE(#?)
Output:
%PACTIVE
%PACTIVE
0
%PACTIVE-1,%PACTIVE0
Anyone able to see how come this isn't working the way I want it to? I should get a string with the two profile names in them and %PACTIVE(#?) should return 2. Right?
I'm trying to create a task that will only run if none of the specified profiles are active. But...before I can do that I need to get the list of active profiles. After a lot of fiddling around, here's where I'm at:
Tasker displaying "Hjemme" and "From 23:00 till 06:00" as active
Task:
Variable set %pactive to %PACTIVE
Flash text %pactive
%PACTIVE
%PACTIVE(#)
%PACTIVE(#?)
Output:
%PACTIVE
%PACTIVE
0
%PACTIVE-1,%PACTIVE0
Anyone able to see how come this isn't working the way I want it to? I should get a string with the two profile names in them and %PACTIVE(#?) should return 2. Right?