Script Not doing anything plzzz help! What can I do to get animation on screen swipe?

Script Not doing anything plzzz help! What can I do to get animation on screen swipe?

var d = LL.getCurrentDesktop();

var fox = d.getPositionX();

d.getItemByName(Android).setPosition(fox,0);

http://www.lightninglauncher.com/scripting/reference/api/reference/net/pierrox/lightning_launcher/script/api/Android.html
]]>

2 Commentsto Script Not doing anything plzzz help! What can I do to get animation on screen swipe?

  1. Anonymous says:

    < ![CDATA[

    Make sure your item is detached from the grid. If it isn’t, then detach it, or use setCell instead.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    1: you need to put the name of the item between “”, so like this:”Android”


    2: note there’s a difference between name and label. Label is the text beneath the icon and you can set name in properties->misc.


    3: you need to run the script on the position changed event of the desktop.

    ]]>

Leave a Reply

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