hello, I have created an empty object without icon and text, just a box background picture.

hello, I have created an empty object without icon and text, just a box background picture.

How can i reload the picture with a script? Maybe with Tasker or Automagic.

]]>

4 Commentsto hello, I have created an empty object without icon and text, just a box background picture.

  1. Anonymous says:

    < ![CDATA[

    Hi Sascha, it would indeed be possible using a script (I think), I was actually just starting to learn how to do those so I’m settibg myself the challenge of answering that one for you tonight. I’ll stick with it and let you know if I find a solution.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    This is what I use to reload the item ‘map’ from the file located at /storage/emulated/0/Tasker/map.png. The script can be called from Tasker. The filename can also be a Tasker variable, in which case you use the getData approach described in 


    http://www.pierrox.net/android/applications/lightning_launcher/wiki/doku.php?id=working_with_tasker



    var item=LL.getCurrentDesktop().getItemByName(‘map’);


    var image=LL.createImage(‘/storage/emulated/0/Tasker/map.png’);


    item.setBoxBackground(image, “nsf”, true);

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Thanks for reply. Not working. Is it possible to change or refresh the box background picture with a lightninglauncher script? Maybe Pierre Hébert can help. Or TrianguloY

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Finaly after a lot reading the script api it works! Thanks Wern-Yuen Tan . I modified your script, now it works without tasker, directly in LLX.

    ]]>

Leave a Reply

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