Hello, I’m sorry to ask things like that.
Hello, I’m sorry to ask things like that… But I’m trying to change a panel content color through script but I get an error “can’t find function set color”
Here is the script
var coluor=0xff00ff00;
var item=LL. getItemById(0x010008);
var p=item. getProperties();
p.edit().setColor(‘c’, ‘n’,coluor).commit() ;
Ive tried several ways but can’t get any to work
Thanks a lot in advance
]]>« Wallpapers. (Previous Post)
(Next Post) Release of my The Art Of Japan setup….included are a lock,home,sidebar and calendar screen which are all done with… »
< ![CDATA[
http://www.pierrox.net/android/applications/lightning_launcher/script/reference/net/pierrox/lightning_launcher/script/api/PropertyEditor.html
there is simply no method setColor 😛
]]>
< ![CDATA[
What you probably wanted to do was
var edit = p.edit();
edit.getBox(“i.box”).setColor(‘c’, ‘n’,coluor);
edit.commit();
]]>
< ![CDATA[
Hint: get the box first
( Lukas Morawietz, you won this time 😉
No, really. I wish google+ had the ‘someone posted a message before you’ message present in almost all forums 🙁
]]>
< ![CDATA[
Ok thanks a lot Lukas Morawietz and TrianguloY I’ll try it after work 🙂
]]>