Could someone point or assist on where to find a script, that will make a widget invisible for xx amount of time or…
Could someone point or assist on where to find a script, that will make a widget invisible for xx amount of time or until double tapped?
I nothing about scripts so type slow,lol.
]]>« My single screen launcher. (Previous Post)
(Next Post) For the devs, can you integrate an applock in LL? »
< ![CDATA[
First give a name to your widget, then try the following code (not tested):
var widget = LL.getCurrentDesktop().getItemByName(‘your_widget_name’);
widget.setVisibility(false);
setTimeout(function() {
widget.setVisibility(true);
}, 5000);
]]>
< ![CDATA[
Merci, no where do I put the code?
]]>
< ![CDATA[
In order to create a script launch the script editor, then copy/paste the code above. You can then give it a name and make the script available in a menu (check some box in the left pane), or launch it from a lightning action shortcut, or from any other configurable event.
]]>