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

]]>

4 Commentsto Hello, I’m sorry to ask things like that.

  1. Anonymous says:

    < ![CDATA[

    What you probably wanted to do was


    var edit = p.edit();


    edit.getBox(“i.box”).setColor(‘c’, ‘n’,coluor);


    edit.commit();

    ]]>

  2. Anonymous says:

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

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Ok thanks a lot Lukas Morawietz and TrianguloY I’ll try it after work 🙂

    ]]>

Leave a Reply

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