2017

Table Of Contents
RESET DEFAULT SPECIFICATIONS FOR FUTURE LAYOUTS
tell default document 1
set page height to oldHeight
set page width to oldWidth
set automatic text box to oldAutoTextBox
set guides showing to oldGuidesShowing
set guides in front to oldGuidePos
set horizontal measure to xDocMeasure
set vertical measure to yDocMeasure
end tell
end tell
CONCEPTS
The
set
statements above replace the layout default specifications with your
original specifications.
The
tell
statement references the current default document by index [1].
Each
set
statement specifies a property of the default document according
to the local variable. For example, the page height property is specified as the
variable
oldHeight
. The original page size, automatic text box setting, guide
display, the guide locations, and the default measurement system are reset.
DEFINITIONS AND EXAMPLES APPLE EVENTS TERMINOLOGY
This section provides AppleScript denitions and examples for object references,
insertion points, and each event that QuarkXPress supports.
Once you are familiar with the scripting language’s syntax, you should be
able to write scripts for QuarkXPress by referring to the information in the
AppleScript dictionary.
This section also includes definitions of object reference forms and insertion
points, including descriptions of their usage and examples in AppleScript.
The examples are taken from various scripts and are shown out of context.
SCRIPT WRITING SAMPLE
32
|
A GUIDE TO APPLE EVENTS SCRIPTING