Adobe 26001360 Scripting Guide - Page 76
character style, Table 4.6, character style - Properties
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 76 highlights
76 AppleScript Reference set characterCount to count characters in textFrame set factor to (characterCount + 1) / 2 -- Iterate over each character, changing its horizontal scale repeat with i from 1 to characterCount set hScaling to (factor - i) / factor if hScaling < 0 then set hScaling to -hScaling set widthScale to 100 + 100 * hScaling set horizontal scale of character i of text frame 1 of document 1 to widthScale end repeat end if end if end tell character style, character styles A named style that specifies character attributes. Table 4.6 character style - Properties Property R/O Value Type aki left aki right alignment real real Valid values: • bottom • center • icf bottom • icf top • roman baseline • top What it is The left aki (in thousandths of an em) The right aki (in thousandths of an em) The character alignment type 12 Aug 03