Can I use a binding to an object’s background color?

Can I use a binding to an object’s background color?

]]>

12 Commentsto Can I use a binding to an object’s background color?

  1. Anonymous says:

    < ![CDATA[

    Yes. Check the box property and use the ‘c’ for the content color.


    http://www.lightninglauncher.com/wiki/doku.php?id=bindings_box

    ]]>

  2. Anonymous says:

    < ![CDATA[

    So set the binding to “c:$variable” ?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Well, the best way to know is to try it! 🙂


    If the ‘variable’ variable contains the color, then yes.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    You aren’t getting any errors? The binding must be between apostrophes


    ‘c:$variable’


    If still it doesn’t work, what is the content of that variable? A very helpful ‘debug’ trick is to set that exact binding to the label binding of an item, so you know exactly what it is.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Now it’s just being transparent

    ]]>

  6. Anonymous says:

    < ![CDATA[

    The color must have a transparent value, and make sure you are writing it with the 0x prefix if it is in hexadecimal.


    ‘c:0xff00ff00’


    This above will turn the background to green.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    My label looks like #FF00AABB – how can I reformat that?

    ]]>

  8. Anonymous says:

    < ![CDATA[

    TrianguloY now, is there a way to apply a binding to every item in a folder at once?

    ]]>

  9. Anonymous says:

    < ![CDATA[

    There is, but using a script.


    Or, you can select the item with the binding, copy its style, select the other items and apply the style (this will copy all bindings and the other properties). The copy/paste style buttons are the fourth and fifth from the top in the right toolbar

    ]]>

Leave a Reply

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