Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,073 Members 40,837 Now Online
XDA Developers Android and Mobile Development Forum

Conditional assistance, please!

Tip us?
 
tb01110100
Old
#1  
tb01110100's Avatar
Member - OP
Thanks Meter 16
Posts: 89
Join Date: Jun 2012
Location: Indiana
Default Conditional assistance, please!

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
My devices:
Nexus 10 - Android 4.4.2 Stock Rooted // franco.Kernel r15
Nook Tablet - CM10.1

Check out my Zooper Widgets @ http://forum.xda-developers.com/show....php?t=2588966
 
kwerdenker
Old
#2  
kwerdenker's Avatar
Recognized Themer
Thanks Meter 1990
Posts: 1,335
Join Date: Apr 2010
Location: Probably the Zooper Forums

 
DONATE TO ME
Quote:
Originally Posted by tb01110100 View Post
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

Please use the forums for your Zooper related questions. I won't respond to PMs with questions that can/should be asked there. Thank you.
 
tb01110100
Old
#3  
tb01110100's Avatar
Member - OP
Thanks Meter 16
Posts: 89
Join Date: Jun 2012
Location: Indiana
Ah, ok. Thanks!

Sent from my Nexus 10 using Tapatalk
My devices:
Nexus 10 - Android 4.4.2 Stock Rooted // franco.Kernel r15
Nook Tablet - CM10.1

Check out my Zooper Widgets @ http://forum.xda-developers.com/show....php?t=2588966
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes