I am trying to use the property "typename" with the fillcolor. I am using following statement:
It'll give error i.e. access of undefined property typename.
Is there any way of finding the typename of fillcolor?
Actually, I want to get the type of fillcolor used in pathitem, i.e. is it "GradientColor", "PatternColor" or "SpotColor".
can anyone help me with this?
I tried your code as follows:
var doc = app.activeDocument;
But, here "groupItems" returns "null".
Then I did some modification and used above code as follows:
which gives an error i.e.
"Access of possibly undefined property typename through a reference with static type com.adobe.illustrator:Color. "
Please help me with this.
I think you keep mixing ActionScript syntax with ExtendScript ( what users in this forum use )…
The latter we can help with but I only just started learning ActionScript myself… ( to create propper panels )
Help use help you… Which are you using and what are you trying to do?
I am using creative suite extension builder.
I searched a lot and find the following code:
Using above code will give an error on line no. 8.
I jst want to get the value of type of fillcolor any how.