I need some help with making simple script but really have no idea about this computer languages…

I need some help with making simple script but really have no idea about this computer languages…

I want combine ‘go to home desktop, then zoom 100p’ and ‘close all folders’ in single action, like press home button or back button.

Spend whole day to make this action but couldn’t make it…

Wish someone have any idea to make it. Thank you.

]]>
« (Previous Post)

5 Commentsto I need some help with making simple script but really have no idea about this computer languages…

  1. Anonymous says:

    < ![CDATA[

    You can use this


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



    It can also helps you providing custom scripts to learn.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Good god lol I wish I could come close to understanding this stuff… I got a long way to go lol

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Omg!, tx for quick reply. I wonder how come i couldn’t find this tool even I digging it for a day.


    I tried it directly but I faced error…


    I get this script from your tool;



    var fl=LL.getOpenFolders(),fll=fl.getLength(); if(fll>0)for(var i=0;i


    LL.goToDesktop(LL.getHomeDesktop().getId());//Go to home desktop


    c.setPosition(0,0,1,true);//Zoom 100p



    //Made with TrianguloY’s script maker tool



    And the error message is;



    At line 3: ReferenceError: “c” is not defined.



    Guess it seems something missing with ‘var’ I think.



    I tried put in


    var c=LL.getContainer();



    But.. wrong…


    Please give me some hint for solve this problem. Thank you.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Uhm, it’s strange nobody reported it before.


    I’ll try to fix.



    You need to add



    var c = LL.getEvent().getContainer()||LL.getCurrentDesktop();



    before the last line (place it at the beginning is ok)

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Avoiding error by adding those scripts. Unfortunately, zoom 100p action seems doesn’t work.


    But I found my own solution.



    var fl=LL.getOpenFolders(),fll=fl.getLength(); if(fll>0)for(var i=0;i


    LL.goToDesktopPosition(0,0,0);//Go to home desktop



    //Made with TrianguloY’s script maker tool



    Since, I use only one desktop I don’t need to get current desktop.


    Yr scripts makers were such a help to me. Thank you.

    ]]>

Leave a Reply

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