Hi

Hi,

Is there a way in LL to make my desktop background or system background to change automatically like every months ?

]]>

14 Commentsto Hi

  1. Anonymous says:

    < ![CDATA[

    with script yeah pretty much everything’s possible

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Yeah that’s what I though; I dont know how to script…


    Maybe you do know ?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    its probably already done have a look in the script repo

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Nop I can not find one doing this in the repository :/

    ]]>

  5. Anonymous says:

    < ![CDATA[

    ah well might be worth searching the community some scripts don’t get posted to the repo, none of mine do.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Ok I will try to find this, thx

    ]]>

  7. Anonymous says:

    < ![CDATA[

    I found this, but how am I suppose to use this ?


    How to load it as a script, and how to setup the location folder for my pictures ?


    The creator also says this does not handle errors, what does it mean ?


    Can someone help me with it please ?





    In case this was interesting to anyone, here’s a wallpaper changer script assuming your wallpapers are in a specific directory. It doesn’t handle errors or anything, but it might help anyone trying to do something similar.



    LL.bindClass(“java.lang.Runtime”);


    LL.bindClass(“java.io.File”);



    var wallpaper_dir = new File(“/storage…”) //replace with wallpaper directory



    var container_id = LL.getCurrentDesktop().getId() ;


    var ll_wallpaper = new File(LL.getContext().getFilesDir() + “/pages/” + container_id + “/wp”);


    ll_wallpaper.delete();



    var wallpaper_list = wallpaper_dir.listFiles()


    var index = Math.floor((Math.random() * wallpaper_list.length));



    var rt = Runtime.getRuntime()


    rt.exec(“cp ” + wallpaper_list[index].getAbsolutePath() + ” ” + ll_wallpaper.getAbsolutePath());


    LL.runAction(EventHandler.RESTART);

    ]]>

  8. Anonymous says:

    < ![CDATA[

    change /storage…. to the path of the folder that has your images it must go inside of the quotes eg. “your path goes here”. who wrote this do you have a link to it.

    ]]>

  9. Anonymous says:

    < ![CDATA[

    as for how to load it open your app drawer tap on script editor paste in the script swipe on the left side of the screen to pull out the drawer name the script anything you want just so you can recognize it later. Press on the box that says lightning menu and close the script editor. Go back to your homescreen long press the desktop press scripts you should see the script with the name^ there press it.

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Thanks for the help, I tried it, but it is not working :/


    When i click on scripts and pick my wallpaper script, the screen kind of flashs and nothing happens :/


    Also, could you tell me what to change in the script to make it change the wallpaper every 1st of a month ?

    ]]>

  11. Anonymous says:

    < ![CDATA[

    just tried it from what I can tell it works great every time you run it a different image is displayed. Shouldn’t be to hard to modify it to do what you want. Will have a go at doing it in the morning

    ]]>

  12. Anonymous says:

    < ![CDATA[

    Ok cool, thx to you. I will make a screen record to show how it is not working. Maybe you will have an idea. Will do it tomorrow. Thx again.

    ]]>

Leave a Reply

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