Adobe 26001360 Scripting Guide - Page 55
Content of a Text Range, Character Style, Character Attributes, Printing Illustrator Documents
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 55 highlights
55 Scripting Illustrator Content of a Text Range You can set the content of a text range by passing in a Unicode string known to that particular scripting language. If you know the Unicode value of a character, you can enter it using a C language style backslash escape sequence . If the string starts with a single or double quote, treat the quote as a delimiter. The exact escape characters it recognizes depends on the scripting language being used. Character Style, Character Attributes, Local Character Attributes You can change the display properties of a text range by applying an appropriate character style and/or providing local overrides of character attributes at the text and/or paragraph levels. The character styles are hierarchical, namely you can derive a new character style from another base (parent) character style, although only one level of inheritance is allowed. The root character style is named 'Normal', with all character attributes defined and set to default values. If you query for the character attributes of a text range, Illustrator will derive a fully defined/ flattened set of character attributes (because at the root level, 'Normal' character style is always fully defined). This principle also applies the paragraph style, paragraph attributes and local paragraph attributes. Printing Illustrator Documents Prior to Illustrator CS, scriptors could use the print command, but they could not control any of the print settings. With the new printing model, you can use the full range of Illustrator print capabilities using AppleScript, Visual Basic, or JavaScript. In many instances, the print features available via scripting are greater than those available through the Illustrator CS print user interface. Using the print scripting feature, scripters can capture and automate parts of their print workflow, which allows them to focus on other more creative work. Scripting exposes the full capabilities of Illustrator printing, some of which may not be accessible through the normal print user interface. Illustrator supports at most one print session at any give time because of limitations in the current printing architecture. 12 Aug 03