Help.

Help. so far I was not able to run the script on events and actions. Editing the file gives me the following error: Error reading file … / Lightning Launcher / tmp / script.js. Can anyone tell me why this happens?. Moto G-LLX 10.3 (R1767). This is the script:

var id= 393220 //the id of the item

var amount = 0.5 //the parallax effect, between 0,1

var cont=LL.getEvent().getContainer();

var it=LL.getItemById(id);

it.setPosition(cont.getPositionX()* amount+it.getWidth()* (amount-1),0);

]]>

7 Commentsto Help.

  1. Anonymous says:

    < ![CDATA[

    How are you trying to edit that file?


    I suggest you use the native editor for copy/paste

    ]]>

  2. Anonymous says:

    < ![CDATA[

    ok. But I can not run the script. This error occurs Can it be the cause?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Could you check that your external storage is available ? A temporary file (script.js) is usually stored here (when using an external editor at least)

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Mi phone es Moto G XT1032 (dont have slot to external SD) with 8GB internal memory. I dont use a external editor.  The script dont work in action&events

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Pierre Hébert: Since I talked with Luis personally (the problem was with one of my scripts, then we realize ‘return’ is also a script that triggers the error.)


    – When launching from a shortcut to run script it works.


    – When launching from any event it crashes right after closing the editor when selecting the script.


    – When using from an event the run script action it don’t crash, but the script don’t work


    – When selecting ‘edit’ in the editor it says ‘error reading file lightning launcher/tmp/script.js



    That’s all we talked. ( Luis Alfredo Chandia If something is wrong tell me)

    ]]>

  6. Anonymous says:

    < ![CDATA[

    I could not explain better (my english is not very good looking)

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Pierre Hébert, TrianguloY im thinking to do a hard reset. I cant run scripts. Ha! Delet tmp folder dont work

    ]]>

Leave a Reply

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