Since 6 october this bindings is no more working. On an item

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​​

]]>

2 Commentsto Since 6 october this bindings is no more working. On an item

  1. Anonymous says:

    < ![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?

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Yes number, 10 is perfect.


    Thank you TrianguloY​


    And +Ian Macdonald​

    ]]>

Leave a Reply

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