2017

Table Of Contents
STORY EVENTS AND EXAMPLES
VERB APPLESCRIPT EXAMPLE
count
count of every paragraph of story 1
data size
data size of name of story 4 as integer
deletet
delete story 10
get
get contents of story1
get as
get color of story 1 as string
save
save story 1 as “TEXT” in “Hard Drive: Test.txt”
select
select story 1
set
set font of story 1 to “Times”
show
show story 1
STORY ELEMENTS AND REFERENCE FORMS
BEFORE/
BY AFTER
ELEMENT NUMERIC BY BY BY SATISFYING ANOTHER
CLASS INDEX ID NAME RANGE A TEST ELEMENT
character
line
paragraph
text
text style
range
word
STORY 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 of 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 style
character spec Character spec applied to
this text
REFERENCE MATERIAL FOR QUARKXPRESS OBJECTS
A GUIDE TO APPLE EVENTS SCRIPTING
|
67