Ok, so I figured it out.... I was missing the .textRange
selector.
doc.pageItems.getByName('myname').textRange.characterAttributes.size = 500;
This works great for most all of the attributes, I still can't seem to set the .textFont
attribute by the font name. I can set it using the index, but that's no good as I update my fonts quite often.
doc.pageItems.getByName('myname').textRange.characterAttributes.textFont = app.textFonts[7];
Even after retrieving the name of the font, I can't set it... I assumed the way would be something like...
doc.pageItems.getByName('myname').textRange.characterAttributes.textFont = "Arial";
No Luck Though...