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.

]]>

3 Commentsto Could someone point or assist on where to find a script, that will make a widget invisible for xx amount of time or…

  1. Anonymous says:

    < ![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);

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Merci, no where do I put the code?

    ]]>

  3. Anonymous says:

    < ![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.

    ]]>

Leave a Reply

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