U.M. (Mac OS)

Table Of Contents
5-28 FileMaker Pro User’s Guide
Defining a script to perform AppleScript commands
Use the Perform AppleScript step to perform AppleScript commands.
The AppleScript extension, or the Apple Event Manager and QuickTime
extensions must be installed on your system. (See the Apple Computer,
Inc. Web site at http://www.apple.com for more information.)
1. Choose ScriptMaker from the Script menu.
2. In the Define Scripts dialog box, create a script, or select an existing
script and click Edit.
3. In the Script Definition dialog box, double-click Perform AppleScript
in the Available Steps list, and then click Specify.
4. In the Specify AppleScript dialog box, select options, and then click
OK.
Perform other types of
Apple events
Choose Other. In the Specify Event dialog box, type the Event
Class and Event ID (four-character codes specified by the target
application). Click OK.
1 To send an Apple event to the same file each time you
perform the script, click Document, and then click Specify
File. In the Open File dialog box, select a file, and then click
Open.
1 To send text that’s stored in a field in the current record,
click Field value, and then click Specify Field. (The event must
accept a text parameter.) In the Specify Field dialog box,
select a field on the current layout. Click OK.
1 To send a text parameter with the event, click Script text and
type the parameter in the text box. (The event must accept a
text parameter.) This option sends the same parameter each
time FileMaker Pro sends the event.
Choose FileMaker Help Index from the or Help menu, and then type:
E Apple events
To Do this
Perform AppleScript commands that
are stored in a field
Click Field value. In the Specify Field dialog
box, choose a field that contains AppleScript
commands, and then click OK. The commands
are compiled each time FileMaker Pro
performs the script.
To Do this
?