Archives
now browsing by author
Hello, i want buy LL but Google Play show notification: This item isn’t available in your country.
Thank You!
]]>Lately, i am writing the script putting some effect when i swipe to the left on my desktop.
i used the script on Event>position Changed.
I detect the change by the api (getpositionX())
i would like to know is it battery friendly by making animation with script?
]]>Lil something im working on to go with my assistant 😊
Lil something im working on to go with my assistant 😊
]]>Hi i m just a new user learning to use the script to create some simple effect
(i swype on the desktop, the shortcuts and widget from the right hand side of the screen getting in and increase the transparency from 0 to 255,so it looks like fading in from RHS)
i m fine with the shortcut i used the follow script or called api
but i failed to do the same thing on the widget
var d = LL.getCurrentDesktop();
var x = d.getPositionX();
var i = d.getItemByName(“Timetable”);
var i2 = d.getItemByName(“calendar”);
var a = x/1335*255;
/1335 is my horizontal screen width/
i.getProperties().edit().setInteger(“i.alpha”,a).commit();
i tried the same api by replacing i to i2
i2.getProperties().edit().setInteger(“i2.alpha”,a).commit();
it throws me an error
i think this is because of i2 a widget but i is a shortcut
any idea or suggestion on the modification?
sorry for my bad english
many thanks
]]>