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.
]]>« A request for a new method (Previous Post)
(Next Post) Catlog after Load event not being fired after reboot »
< ![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).
]]>
< ![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 😉 )
]]>
< ![CDATA[
with setVisibility(!isVisible());
]]>