Change perspective color with javascript?

I’m trying to build a plugin that will change a custom perspective’s color to light grey when it has no items, and change the color to red when it has items. (Triggered on Clean Up.) Does anyone have an idea how to accomplish this? I can’t find a method to do this in OmniJS.

I saw some mention of maybe using a FileWrapper to change the color, but this is above my pay grade.

Any help appreciated.

That’s not possible, as far as I know.

Where did you see this ?

For the next update:

  • API — Added the iconColor property to Perspective.Custom to manipulate the color applied to a custom perspective’s icon symbol. (Does not apply when the perspective uses a custom icon.)
2 Likes