2017

Table Of Contents
LINE EVENTS AND EXAMPLES
VERB APPLESCRIPT EXAMPLE
count
count of every character of line 2
data size
data size of track of line 1 as integer
delete
delete line 1
duplicate
duplicate line 1 to after line 3
get
get track of line 1
get as
get justification of line 1 as string
make
make line at beginning with properties {contents:“Headline”}
move
move line 1 to after line 3
save
save line 1 as “TEXT” in file “Hard Disk:TextFile”
select
select line 1
LINE ELEMENTS AND REFERENCE FORMS
BEFORE/
BY AFTER
ELEMENT NUMERIC BY BY BY SATISFYING ANOTHER
CLASS INDEX ID NAME RANGE A TEST ELEMENT
character • •
text
word • •
LINE PROPERTIES, DATA TYPES, AND DESCRIPTIONS
R/O PROPERTY NAME TYPE DESCRIPTION
ascent
font units Maximum ascent of any
character in this text
base shift
base units Baseline shift of the first
character in this text
baseline
vertical Vertical offset (from the top
measurement of the containing text box)
of the baseline of the first
character of this text
best type
type class Best descriptor type
character
character Character spec
style
spec applied to this text
character
no type/ Type of character
type
one byte/ (East Asian only)
two byte/
many types
REFERENCE MATERIAL FOR QUARKXPRESS OBJECTS
60
|
A GUIDE TO APPLE EVENTS SCRIPTING