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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

?<br />

Using ScriptMaker and buttons 5-25<br />

1 You can use the Perform Applescript step to communicate directly<br />

with <strong>FileMaker</strong> <strong>Pro</strong>. For more information, see the Apple Events<br />

Reference database. You can also use an applet, droplet, or scripting<br />

application that communicates with <strong>FileMaker</strong> <strong>Pro</strong>.<br />

1 <strong>FileMaker</strong> <strong>Pro</strong> can’t receive Apple events while performing a<br />

ScriptMaker script.<br />

1 <strong>FileMaker</strong> <strong>Pro</strong> can send Apple events with text or AppleScript<br />

commands that are located in a related file. See chapter 10, “Using<br />

data from related files.”<br />

1 To send Apple events to <strong>FileMaker</strong> <strong>Pro</strong> on a network, you need a<br />

local copy of <strong>FileMaker</strong> <strong>Pro</strong>. Any commands you send to a guest<br />

database are relayed to the host. See chapter 7, “Networking and<br />

access privileges.”<br />

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

E Apple events<br />

Defining a script to send Apple events<br />

Before you send Apple events, consider the following:<br />

1 Use the Send Apple Event step to send Apple events to other<br />

applications. Each Send Apple Event step sends one event. You can<br />

include more than one Send Apple Event in a script.<br />

1 When specifying a field value or script text, <strong>FileMaker</strong> <strong>Pro</strong> sends text<br />

as a parameter with the Apple event. See the documentation that came<br />

with the target application to determine what information it expects<br />

to receive with an event.<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 then click Edit.<br />

3. In the Script Definition dialog box, double-click Send Apple Event in<br />

the Available Steps list, and then click Specify.

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

Saved successfully!

Ooh no, something went wrong!