2017

Table Of Contents
In practice, this means that if you want to change the color of a text box,
you would write:
set color of text box 1 to "green"
Color is not a property of the text box class, but we can use it as such, because
it has been inherited from box properties, which is inherited by generic box.
Likewise, if you want to change the shape to rounded corner, you can write:
set corner radius of text box 1 to 20
Once again, skew is not defined in the text box entry, but is picked up through
inheritance from containing box properties. Consequently, when using an
Apple events dictionary, you may want to think of <inheritance> as a scripting
equivalent of “see also” in an ordinary dictionary.
REFERENCE MATERIAL FOR QUARKXPRESS OBJECTS
APPLICATION EVENTS AND EXAMPLES
VERB APPLESCRIPT EXAMPLE
count
count of every layout space of project 1 of application
“QuarkXPress”
data size
data size of name of application “QuarkXPress” as integer
get
get auto save of application “QuarkXPress”
get as
get name of application “QuarkXPress” as string
set
set doc layout showing of application “QuarkXPress” to
true
APPLICATION ELEMENTS AND REFERENCE FORMS
BEFORE/
BY AFTER
ELEMENT NUMERIC BY BY SATISFYING ANOTHER
CLASS INDEX BY ID NAME RANGE A TEST ELEMENT
color
system
default
document
delimit
table
document
file
menu • • •
project
window
xtension • •
DATA COERCION USING THE APPLESCRIPT DICTIONARY
A GUIDE TO APPLE EVENTS SCRIPTING
|
43