I am trying to write a script that will change the background color of a folder when it opens.

I am trying to write a script that will change the background color of a folder when it opens. I tried to change the “bgColor” property of the container, but that seemed to do nothing. (I committed the property edit and then got the property again to confirm it changed and it did, but the folder looked the same.)… I want to change the content and padding color like you can do on this screen of the folder properties. Is there a way?

]]>

4 Commentsto I am trying to write a script that will change the background color of a folder when it opens.

  1. Anonymous says:

    < ![CDATA[

    if (itm.getType() == “Folder”) {


    box = ed.getBox(“f.box”);


    box.setColor(“c”, “ns”, self.quickColor.Vibrant.solid);


    ed.setInteger(“f.titleFontColor”, self.quickColor.DarkMuted.solid);


    ed.setFloat(“f.titleFontSize”, 20);


    }


    ed.commit();




    Part of my QuickaTheme script.


    Enjoy!

    ]]>

  2. Anonymous says:

    < ![CDATA[

    amazing! thank you!

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Jappie Toutenhoofd how i use this script? Once put in the “run script” on tab with property??

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Sorry for the typo, search for QuickTheme.

    ]]>

Leave a Reply

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