Point Type - Adobe 26001360 - Illustrator CS - PC Manual

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

230
Table 4.96 text — Properties (Continued)
Property
container
contents
kerning
length
selection
story
Valid Commands
• count
• delete
• duplicate
• exists
• make
Notes
Text can be accessed using the character, insertion point, word, line, paragraph
and text classes. All text is contained within text frames.
Example 70.1
In this example, all characters set to 12-point type in the current document will be changed to

18-point type.

-- Change all 12pt text to 18pt
tell application "Illustrator CS"
set textArtItemCount to count text frames of document 1
-- Loop through all the text frames
repeat with itemCount from 1 to textArtItemCount
set textRef to text of text frame itemCount of document 1 as reference
if (size of textRef = 12) then
set size of textRef to 18
end if
end repeat
end tell
R/O
Value Type
R/O
reference
Unicode text
real
R/O
integer
R/O
list of text
R/O
story
12 Aug 03
AppleScript Reference
What it is
The object's container
The text content of the text range
Controls the spacing between two characters,
in thousandths of an em
Length of text range (minimum: 0)
The selected text (ranges) in the text range
The story of the text range

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents