Could you set an event for Toggle item ?

Could you set an event for Toggle item ?

1 item or a list of item

And set item as displayed or not displayed in item property

]]>

9 Commentsto Could you set an event for Toggle item ?

  1. Anonymous says:

    < ![CDATA[

    What kind of toggle?

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Benoît de Chezelles​ on/off visible



    Sure it’s possible by script TrianguloY​


    But how to chose a list of items ?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    I thought of one, Samsung has the assist menu, which is a permanent floating button. Which doesn’t look good on any ones home screen. The visible and non visible would be great.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Binding?


    I mean:


    A variable set to 1/0


    A ‘change value of variable’ action on an event set to 1-$variable


    Set the visibility property of all items you want to that variable

    ]]>

  5. Anonymous says:

    < ![CDATA[

    TrianguloY thank you, but I’m still working on desktops and side panels. Scripting and bindings that will be on my agenda for next year,lol!


    But seriously, I guess I could use a gesture to invoke it? So, set VAR. %assistmenu~1(visible) %assistmenu~0(invisible), and that’s all I got from what you just wrote, baby steps sorry.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    H Tuttle ehhhh I don’t really understood your comment, sorry.



    I’ll explain with full details the steps to toggle the visibility of items



    1) think on a word to use as a variable (an unused one). I’ll choose “variable”


    2) in the gesture/event you want, choose ‘lightning actions’, ‘set a variable’, choose (or write if first time) “variable” as the variable name, and “1-$variable” as the content (without the quotation marks)


    3) in all the items you want to toggle, edit it, go to bindings, add binding, choose visibility, and write “$variable” (without quotation marks)



    This is all

    ]]>

  7. Anonymous says:

    < ![CDATA[

    TrianguloY previous comment, was a joke about how I’m a complete newb about LL and its steep learning curve, that’s all.


    Thank you for your explanation!

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Actually, I don’t think you can do anything to the assistant menu, long pressing on it does nothing, even in edit mode. Oh well, thanks anyways!

    ]]>

  9. Anonymous says:

    < ![CDATA[

    TrianguloY yes just what I’ve done. Bindings with a variable 1/0


    Pierre Hébert​ noticed that when not visible the item is not clickable now. Many thanks for that.

    ]]>

Leave a Reply

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