October, 2016
now browsing by month
V14a10
Setting the alpha of an item lower than 255 leads to text aliasing artefacts when zoomed into the desktop although hardware acceleration is disabled for desktop and item
You would expect a clear text with sharp edges as long as hardware acceleration remains disabled.
Example script
getEvent().getScreen().getCurrentDesktop().getItemByName(“item”).getProperties().edit().setInteger(“i.alpha”,254).commit();
]]>V14a10
A script executed after desktop items have been removed throws nullpointer exception.
_____________
var items = getEvent().getScreen().getCurrentDesktop().getAllItems();
var l_item;
var d =getEvent().getScreen().getCurrentDesktop();
for(var i=items.length-1;i>=0;i–)
{
l_item=items[i];
d.removeItem(l_item);
}
getEvent().getScreen().runScript(“event”,null)
___________
The script “event” only displays an android toast message.
BTW: the desktop consists of items created by script. Executing the same script on the default desktop works.
]]>LL crash when refreshing the app drawer (or when unistalling app, but I guess the refresh caused by the app removal…
Log sent.
]]>Pierre Hébert do you have any plans to add this functionality?
Detaching items via script seems to be not working for me at all in v14a10, untested on previous versions.
Tested with i.getProperties().edit().setBoolean(“i.enabled”,false).commit();
]]>Shortcut icon changer
Shortcut icon changer
This script will allow you to quickly and easily change the icon of a shortcut as suggested by me here https://plus.google.com/113157980543803349502/posts/CWBSDuJ5Vj7
Its extremely simple and after picking a character there’s no more error handling so make sure you pick something for every option and don’t press cancel or the script will fail. This is Pierre’s script i just edited it to make it easier and quicker to use for those who dont want to mess about with the code every time they want to change an icon (like me) hope you find it useful 👍
How to use: Set the script to show in the item menu.
Shortcut icon changer
This script will allow you to quickly and easily change the icon of a shortcut as suggested by me here https://plus.google.com/113157980543803349502/posts/CWBSDuJ5Vj7
Its extremely simple and after picking a character there’s no more error handling so make sure you pick something for every option and don’t press cancel or the script will fail. This is Pierre’s script i just edited it to make it easier and quicker to use for those who dont want to mess about with the code every time they want to change an icon (like me) hope you find it useful 👍
How to use: Set the script to show in the item menu.
D5 Creation