Variables matching variables

13 views
Skip to first unread message

russell crump

unread,
Oct 14, 2015, 12:14:00 PM10/14/15
to Tasker
Hi sorry if this is a really dumb question but I really can't get it to work.

I've tasker run a task off a toggle which read a file in into a variable (%var1). Tasker then tests a element from the scene which stores the results in a variable (%var2).....how do I go about making a 'if' work from 2 variables

So if condition %var1~%var2 continues task

Something tells me it isn't that simple

Many thanks :)

Rich D

unread,
Oct 14, 2015, 12:28:02 PM10/14/15
to Tasker Google Groups Post

>
> So if condition %var1~%var2 continues task
>
> Something tells me it isn't that simple

Sure it is.  It depends on what you want to do if it is false.

1. If you want to stop the task then just use a 'stop' action and put.    %var1!~%var2 in the 'IF' option

2 if you want to do other actions the use the 'IF' / 'end if'  action.

>
> Many thanks :)
>
>
>
>
>
> --
> 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+un...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tasker.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages