Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- Control script steps
- Navigation script steps
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Index
- Insert From Last Visited
- Insert From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Audio/Video
- Insert PDF
- Insert File
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- New Record/Request
- Duplicate Record/Request
- Delete Record/Request
- Delete Portal Row
- Delete All Records
- Open Record/Request
- Revert Record/Request
- Commit Records/Requests
- Copy Record/Request
- Copy All Records/Requests
- Import Records
- Export Records
- Save Records As Excel
- Save Records As PDF
- Save Records As Snapshot Link
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
FILEMAKER SCRIPT STEPS REFERENCE 191
Originated in
FileMaker Pro 6.0 or earlier
Description
Select the event you want to send in the “Send Event” Options dialog box.
• When FileMaker Pro sends an Apple event, it sends text (not compiled) data. You must
know what information the target application expects to receive with an event.
• Each Send Event script step sends one event. You can include more than one Send Event
in a script.
Examples
The following example opens an application:
Send Event ["TextEdit", "aevt", "oapp"]
Related topics
Script steps reference (alphabetical list)
Contents
Send Event (Windows)
Purpose
Starts another application, opens a document in another application, or prints a document in another
application.
Format
Send Event [“<aevt>”; “<event name>”; “<filename>”]
Options
Click Specify to display the “Send Event” Options dialog box, where you can set the following
options.
• For Send the <event name> message, select:
• open document/application to tell FileMaker Pro to open a document file or
application. Documents are opened using the application that Windows has associated
with the document’s file type.
• print document to tell FileMaker Pro to print a document in another application.
• Select File or click Specify to specify a document/application to open, or a document to
print. For more information, see Creating file paths.
• Select Calculation or click Specify to create a message from a calculation.
• Select Text to manually enter text for the message to be sent.
• Select Bring target application to foreground to activate the target application and
display it on the screen. Displaying the target application can slow down the performance of
your script. If Bring target application to foreground is not selected, the event is
performed in the background.