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-24 <strong>FileMaker</strong> <strong>Pro</strong> User’s <strong>Guide</strong><br />

<strong>FileMaker</strong> <strong>Pro</strong> can receive Apple events from scripting applications that<br />

are designed to send Apple events, like the AppleScript Script Editor.<br />

Applications can send events to <strong>FileMaker</strong> <strong>Pro</strong> to perform many tasks,<br />

including:<br />

1 requesting data from a record or list of records<br />

1 requesting a list of scripts and performing scripts<br />

1 requesting a list of fields and getting data from the fields<br />

1 sorting or finding records<br />

1 placing or modifying data in any record, field, or list of records or<br />

fields<br />

1 switching layouts<br />

1 creating and choosing menu items<br />

1 opening and closing databases<br />

<strong>FileMaker</strong> <strong>Pro</strong> can also send commands written in the AppleScript<br />

scripting language. Scripting languages use terms like “open” and<br />

“field” instead of the four-character codes in Apple events. (See<br />

“Defining a script to perform AppleScript commands” on page 5-28.)<br />

Support for Apple events is a technical feature for <strong>FileMaker</strong> <strong>Pro</strong><br />

developers. To learn more about Apple events:<br />

1 open the Apple Events Reference database (included when you install<br />

<strong>FileMaker</strong> <strong>Pro</strong> using the Easy Install option). The database contains<br />

a complete description of all <strong>FileMaker</strong> <strong>Pro</strong> events and objects,<br />

including examples and usage tips.<br />

1 contact the Apple <strong>Pro</strong>grammers and Developers Association<br />

(APDA).<br />

1 read third-party books about Apple events and scripting applications.<br />

1 log into the scripting forums available on many online services.<br />

Keep these points in mind:<br />

1 To determine if an application supports Apple events, refer to the<br />

documentation or the application’s scripting dictionary (called an<br />

AETE resource). You can view the dictionary using the AppleScript<br />

Script Editor.

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

Saved successfully!

Ooh no, something went wrong!