Question
Get to know which one is active Stroke or Fill for the document.
Is there any way to find out which one, between stroke or fill, is active for a particular document using illustrator scripting?
I have to apply color on the selected object accordingly.
If fill is active then i use obj.fill.color = 0xff00ff; and,
if stroke is active then i use obj.stroke.color = 0xff00ff;
But i am not able to find which one is active..
Any help would be appreciated...
Thanx...
