PreFab...Player...Documentation...AppleScript...User's Guide...

Chapter 1, Quick Start

(or, how to avoid the rest of the User's Guide)


To install Player, double-click on the Installer file and follow the prompts. For details, see Chapter 3, Installation.

To write a script with Player, first determine the step-by-step procedure for performing the desired task manually from the user interface. Then, translate each step into the equivalent Player verb and enter into your favorite script editor. For example:

The manual procedure:

  1. launch SimpleText and bring it to the front
  2. choose "Page Setup" from the "File" menu
  3. choose "US Legal" from the "Page Size" pop-up menu
  4. type the enter key to accept the dialog
The script:
tell application "SimpleText" to activate
tell application "PreFab Player™"
   do menu menu item "Page Setup" of menu "File"
   do menu popup item "US Legal" of popup "Page Size"
   type enter
end tell

Important!

Notes

| Top |


Cover, Inside Cover| Prev | Home | Next |Chapter 2. Product Overview

Updated on 1/24/99 by Scott S. Lawton (ssl@prefab.com)

Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.

This site built and maintained using Stage Three, a set of custom Frontier scripts.