Hi!
i’m setting applscript to make a new text frame with contents in it:
set mytext to make new text frame with properties {contents: “Test only”}
the text frame willl be created in illustrator but I don’t have any idea how to change the formatting of the text to use Helvetica instead of the default font in Illustrator.
I’ve tried this:
set the text font of text range of selection of document 1 to {name:“Helvetica”, family: “Helvetica”,style:“Medium”}
but nothing happens… or it gives an error “ojbect expected” what does it mean?
Any ideas? (This is Illustrator CS) By the way…
Thanks so much!!!