Hi, i like to show/hide an item at the desktop with a script.

Hi, i like to show/hide an item at the desktop with a script. I found the parameters in the LL Repo but i dont know how to write them in a script. Can someone write an example?

Thanks.

]]>

3 Commentsto Hi, i like to show/hide an item at the desktop with a script.

  1. Anonymous says:

    < ![CDATA[

    Set a name to your item first, then you can use LL.getCurrentDesktop().getItemByName(‘your_item’).setVisibility(true); // or false


    You may also use a binding and toggle a variable for the visibility or transparency (if you want a fade effect).

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Thank you Pierre Hébert


    how can i toggle the visibility of the item with a shortcut to a script using “isVisible()” ?


    (its easier because i dont know how to configure bindings 😉 )

    ]]>

  3. Anonymous says:

    < ![CDATA[

    with setVisibility(!isVisible());

    ]]>

Leave a Reply

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