I have this test script:
I have this test script:
var e=LL.getEvent();
var it=e.getItem();
//get default icon
var img=it.getCustomIcon();
it.setCustomIcon(img);
var img2=it.getCustomIcon();
alert(img+”\n”+img2);
If I run it on a new shortcut, it writes null null
If I set a custom icon to that shortcut and run the script again, the launcher becomes unresponsive
]]>
< ![CDATA[
I think it hangs because of a crash under the “surface”. I will have a look at this.
]]>