I'm trying to use this command to change the colour of objects inside of a document using applescipt but i keep getting an error "adobe illustrator "can't get color"" the colour exists and is active on a document. I have read the manual on variables and i'm a little lost on what i'm doing wrong, heres what i've got so far:
tellapplication "Adobe Illustrator"
ifcoloris "C=0 M=0 Y=0 K=90" then
setcolorto "C=0 M=0 Y=0 K=90"
endif
endtell
any help would be apreciated, i understand this is quite basic but its all i have to start with at the moment