Hey everyone, I’ll try to keep this short.

Hey everyone, I’ll try to keep this short.

I’ve been using LLX for a while now and I’m loving it, but I’ve found myself rather restricted because I don’t know how to write scripts. I’ve done some basic work with JavaScript but nothing that involves importing libraries, always just simple little things on web browsers.

Does anyone have any suggestions on where I can learn JavaScript online? I taught myself most of JS and then did CodeCademy’s course on it, but all my attempts at experimenting with the scripting function on LLX have been unsuccessful.

Any help would be appreciated, thanks in advance!

]]>

5 Commentsto Hey everyone, I’ll try to keep this short.

  1. Anonymous says:

    < ![CDATA[

    Hi! You can learn a lot by looking at others scripts, understand them and maybe trying to modify them! (thoses in the script repository are enough 😉 )

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Hi Benoît, thanks for replying. I’ve been trying to experiment by using some of the simpler Repository scripts as a template, but at the moment I can’t even get a Hello World toast to work properly.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    On a related note, in the Android.makeNewToast() function, the first value you put in the bracket is the string you want displayed, but after that I’ve noticed people specifying true/false. What does that refer to?

    ]]>

  4. Anonymous says:

    < ![CDATA[

    The true/false in second parameters is to specify if the toast must be displayed for a short (true) or long (false) amount of time! Here is the documentation : http://www.pierrox.net/android/applications/lightning_launcher/script/reference/net/pierrox/lightning_launcher/script/api/Android.html

    ]]>

  5. Anonymous says:

    < ![CDATA[

    !!!! Thank you Benoît, that documentation page had a single line giving an example on how to use the makeNewToast() function. Turns out I was missing the .show() at the end.



    Time to start playing iin earnest

    ]]>

Leave a Reply

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