14.10.2013 Views

FileMaker Pro 4.1 Mac User's Guide

FileMaker Pro 4.1 Mac User's Guide

FileMaker Pro 4.1 Mac User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5-28 <strong>FileMaker</strong> <strong>Pro</strong> User’s <strong>Guide</strong><br />

?<br />

To Do this<br />

Perform other types of<br />

Apple events<br />

Defining a script to perform AppleScript commands<br />

Choose Other. In the Specify Event dialog box, type the Event<br />

Class and Event ID (four-character codes specified by the target<br />

application). Click OK.<br />

1 To send an Apple event to the same file each time you<br />

perform the script, click Document, and then click Specify<br />

File. In the Open File dialog box, select a file, and then click<br />

Open.<br />

1 To send text that’s stored in a field in the current record,<br />

click Field value, and then click Specify Field. (The event must<br />

accept a text parameter.) In the Specify Field dialog box,<br />

select a field on the current layout. Click OK.<br />

1 To send a text parameter with the event, click Script text and<br />

type the parameter in the text box. (The event must accept a<br />

text parameter.) This option sends the same parameter each<br />

time <strong>FileMaker</strong> <strong>Pro</strong> sends the event.<br />

Choose <strong>FileMaker</strong> Help Index from the or Help menu, and then type:<br />

E Apple events<br />

Use the Perform AppleScript step to perform AppleScript commands.<br />

The AppleScript extension, or the Apple Event Manager and QuickTime<br />

extensions must be installed on your system. (See the Apple Computer,<br />

Inc. Web site at http://www.apple.com for more information.)<br />

1. Choose ScriptMaker from the Script menu.<br />

2. In the Define Scripts dialog box, create a script, or select an existing<br />

script and click Edit.<br />

3. In the Script Definition dialog box, double-click Perform AppleScript<br />

in the Available Steps list, and then click Specify.<br />

4. In the Specify AppleScript dialog box, select options, and then click<br />

OK.<br />

To Do this<br />

Perform AppleScript commands that<br />

are stored in a field<br />

Click Field value. In the Specify Field dialog<br />

box, choose a field that contains AppleScript<br />

commands, and then click OK. The commands<br />

are compiled each time <strong>FileMaker</strong> <strong>Pro</strong><br />

performs the script.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!