Post Reply

Conditional assistance, please!

17th January 2014, 02:02 AM   |  #1  
tb01110100's Avatar
OP Member
Flag Indiana
Thanks Meter: 16
 
89 posts
Join Date:Joined: Jun 2012
More
So, I'm basically putting this into a rectangle's advanced params and trying to get it to work:

[c]$#Tstateof1#&&#Tstateof2#=true?ff282828:00ffffff$[/c]

Basically, if this variable AND that variable equal true, write foo. Otherwise, write bar.
I've verified with Tasker that both these variables are true, and I know how to get Tasker variables into Zooper. Can someone please tell me why this doesn't work? It's giving me a headache. :/

Thanks!

Sent from my Nexus 10 using Tapatalk
17th January 2014, 06:49 AM   |  #2  
kwerdenker's Avatar
Recognized Themer
Flag Probably the Zooper Forums
Thanks Meter: 2,272
 
1,395 posts
Join Date:Joined: Apr 2010
Donate to Me
More
Quote:
Originally Posted by tb01110100

So, I'm basically putting this into a rectangle's advanced params and trying to get it to work:

[c]$#Tstateof1#&&#Tstateof2#=true?ff282828:00ffffff$[/c]

Basically, if this variable AND that variable equal true, write foo. Otherwise, write bar.
I've verified with Tasker that both these variables are true, and I know how to get Tasker variables into Zooper. Can someone please tell me why this doesn't work? It's giving me a headache. :/

Thanks!

Sent from my Nexus 10 using Tapatalk

You have to test both variables if they are true before you can AND the results of that. Has to do with how boolean expressions work

Send from my secret moonbase via space carrier pigeons
17th January 2014, 09:47 AM   |  #3  
tb01110100's Avatar
OP Member
Flag Indiana
Thanks Meter: 16
 
89 posts
Join Date:Joined: Jun 2012
More
Ah, ok. Thanks!

Sent from my Nexus 10 using Tapatalk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes