Script to modify fill color of outline shape in appearance panel
Hi,
I have a collection of items in Illustrator which are a short text surrounded by a color circle. The circle is created via an outline shape in the appearance panel, see below.
I have been trying to write a script that can change the fill color but can't seem to access that property. I retrieve the object, a TextFrame, and can access the text color via obj.textRange.fillColor, but can't seem to find how to change the fill color.
The documentation didn't seem to provide any methods to access the appearance properties either. I found an old message recommending the OnegaiSDK plug-in to access these, but it doesn't seem to function with CC 2025 anymore (hasn't been maintained since 2019 apparently).
Thanks for any ideas!
