Invoking a ClarisWorks 4.0 Macro with AppleScript

This information was provided by Claris Corporation on 16 March 1998, and incorporated into Apple Computer's Tech Info Library.
[NOTE: This script assumes you are using version 4.0 of ClarisWorks. It is also recommended that you have the following versions of software: System 7.1.1 or System 7.5; AppleScript 1.1]

APPLESCRIPT SCRIPTING LEVEL: BEGINNER

To invoke a ClarisWorks Macro from AppleScript, use the Do Script command, as in the following example. Be sure to replace the text between the quotes with the name of your macro:

tell application "ClarisWorks 4.0"
do script "Macro name here"
end tell

SCRIPTING SUPPORT

Apple Computer provides support for AppleScript and HyperCard. All customers have access to toll-free telephone support for pre-sales and Òup and runningÓ support by calling Apple Assurance at (800) SOS-APPL. ÒUp and RunningÓ support includes questions regarding installation, compatibility, configuration, and basic product use. Advanced scripting support is available for a fee by calling (800) 950-2442.

TRAINING
Self-paced and classroom-based instruction on Apple events and AppleScript is available from Apple Computer's Developer University (408) 974-4897, fax (408) 974-0544, and AppleLink: DEVLINK. Currently course offerings include "Scripting with AppleScript", "Introduction to AppleScript", and "Apple Events/AppleScript Programming."

Published Date: Feb 18, 2012