2016

Table Of Contents
Text: Editing auxiliary dictionaries and hyphenation exceptions
Pictures: Editing clipping paths
Items: Merge/split functions, box creation default settings, and anchored boxes
Color and printing: Multi-Ink colors, Hexachrome
®
colors, print styles, and
the PPD Manager
XTensions Manager and most QuarkXTensions
®
software distributed by Quark
Apple events are supported by some third-party XTensions software, including
XData and BeyondPress. Future versions of QuarkXPress may support the
objects listed above. This document will be updated and distributed with new
versions of QuarkXPress as necessary.
SCRIPT WRITING SYNTAX
To write a script, you need to learn the scripting language of the scripting
application. Scripts combine events, objects, properties, and data in the
order specified by the scripting language. AppleScript syntax is similar to
the English language.
SAMPLE APPLESCRIPT SYNTAX
EVENT PROPERTY OBJECT DATA
set the color of text box 1 to “Red”
set the runaround of picture manual
box 5 to
SPACES
In AppleScript, you can use the names of all objects and properties as shown
in the AppleScript dictionary. AppleScript is not case-sensitive.
QUOTATION MARKS
In AppleScript, you should enclose data in straight quotation marks and use
typographer’s quotation marks as foot and inch marks. For example, to specify
six inches, use6” rather than "6" or '6'. You can also use a back slash to precede
a straight quotation mark when indicating feet or inches. For example, to
specify six inches, you can use "6\"". The back slash can be used any time you
want to tell AppleScript that the following character is not to be used as a
control character.
OPTIMIZING THE PERFORMANCE OF SCRIPTS
These suggestions, and any techniques advocated by your scripting software,
will help you write more efficient scripts.
SCRIPTING OVERVIEW
8
|
A GUIDE TO APPLE EVENTS SCRIPTING