The new Bindings can be fun. But I have a question regarding how to set tasker variable through bindings.

The new Bindings can be fun. But I have a question regarding how to set tasker variable through bindings.

I know how to set a direct variable inside the LL popup in tasker (lightning action set variable), but I can’t figure out how to set a value in tasker variable and send that through tasker bindings to f.e. a label.

I assigned a variable to a text label  like this: (‘$d’,$TEST) and used lightning action set variable TEST to Hello. That works.

But if I fetch a text of the internet that I would assign to that label through bindings I am lost.

in tasker variable set %TEST to Hello. (or internet text)

What do I have to do in the lightning action set variable to make Hello appear as the label.

And how do I have to do it If I would play with color assigning.

]]>

4 Commentsto The new Bindings can be fun. But I have a question regarding how to set tasker variable through bindings.

  1. Anonymous says:

    < ![CDATA[

    In Tasker add a profile where the event is a variable change. In this change you can assign the variable in Lightning

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Thats not what I meant. In the lightning action: set variable, the top row is TEST without $, the bottom row can just be the Tasker variable %TEST.


    About passing color to the label text. In the label on the desktop I put (‘$d’,$COLOR) in bindings but when I pass ffffffff or ffffff or any color without # the text is grey blurred. Almost not readable. How do I pass a color, what format do I have to use?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    The logic should be the same as http://www.jagwar.de/zooper-tasker-variables/. A tasker variable is set, and this event is used to execute a task with an action “set a lightning variable”.


    What is the purpose of $d in (‘$d’,$COLOR) ?


    Regarding colors, they are integers. Either 0xffffffff or #ffffffff  should work but a bug has been reported previously about this. In doubt use the decimal value instead. For instance using Color.argb(255, 255, 255, 255)

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Thanks I will try that, about the $d in (‘$d’,$COLOR) , it is just my lack of experience with java. I think this might be the beginning where I will need to learn how to use and write it, as a (?simpler?) start. Looking forward to it. Hoping for many posts with examples from this community to learn how to make things with bindings. Thanks for this great feature you put in this great launcher.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *