Selecting Text based on characterAttributes
This is a newbie question and the Illustrator Scripting guide is terrible. I'm struggling with the basics.
All I want to do is select all text with a horizontal scale of 94.62%.
Here's what I'm trying:
var myDoc = app.activeDocument
var myText = myDoc.textFrames
var properNames = myText.characterAttributes.horizontalScale[94.62];
properNames.selected
but I get a 'no such element' error.
Of course, the correct code would be great but I'm really hoping for some help understanding why my code isn't working. I really need to understand this stuff. TIA!
