Since 6 october this bindings is no more working. On an item
I have the message as no icon found
//go to the icon picker and search the 31 items. Long click the first one (it will be copied) and paste it here between the brackets
var link = [ “com.esethnet.vion”, “business_calendar_1” ]
//write here the number to set
var number=$ll_day;
//end of config
if(link.length==0){alert(“follow the instructions and paste the icon properties in the script”);return;}
var now=parseInt(number);
var iconPackName = link[0];
var prefixName = link[1].substring(0,link[1].length-1);
var icon=LL.createImage(iconPackName,prefixName+now);
if(icon==null){alert(“no icon found, make sure the pasted data is right and the icon pack have it”);return;}
item.setCustomIcon(icon);
Similar script is working fine on my appdrawer from TrianguloY
]]>
< ![CDATA[
Hmm, so Ian Macdonald was right
(https://plus.google.com/108505251274985356882/posts/WSrjxrUzJbg)
To fix it change the parseInt(number) with parseInt(number,10).
Pierre Hébert, was this a wanted change?
]]>
< ![CDATA[
Yes number, 10 is perfect.
Thank you TrianguloY
And +Ian Macdonald
]]>