Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- Control script steps
- Perform Script
- Pause/Resume Script
- Exit Script
- Halt Script
- If
- Else If
- Else
- End If
- Loop
- Exit Loop If
- End Loop
- Allow User Abort
- Set Error Capture
- Set Variable
- Install OnTimer Script
- Navigation script steps
- Go to Layout
- Go to Record/Request/Page
- Go to Related Record
- Go to Portal Row
- Go to Object
- Go to Field
- Go to Next Field
- Go to Previous Field
- Enter Browse Mode
- Enter Find Mode
- Enter Preview Mode
- 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 Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- 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 155
• Subject indicates the title for the email message.
• Message indicates the text of the email message. You can type the message as text, use a
field value, create a message from a calculation, or insert text from a file.
• Select Attach File to select a file to send as an attachment to the mail message.
Compatibility
The Send Mail script step when sending mail using an email application is:
• not supported in web publishing
• not supported in a FileMaker Server scheduled script
The Send Mail script step when sending mail via SMTP is:
• supported in web publishing
• supported in a FileMaker Server scheduled script. If you attach a file, the file that you attach
needs to be in a folder that FileMaker Server is allowed to export to.
Originated in
FileMaker Pro 6.0 or earlier
Notes
• To send email, you must have an internet connection. In addition, to send mail through an
email application, you must have the following configurations.
Windows:
• A [Mail] section in the Win.ini file.
• Microsoft Exchange, Microsoft Outlook, Microsoft Outlook Express and Eudora installed
and configured properly.
Mac OS:
• Mac OS X Mail or Microsoft Entourage installed to send email with FileMaker Pro.
• Internet system preferences configured for use with one of the supported mail
applications.
• If you use Eudora 5, start the Eudora application before performing this script step.
• If you select Multiple emails and For each message, collect addresses across found
set, FileMaker
Pro generates an email message for every record in the found set. Each
message is addressed to everyone specified in the TO, CC and BCC boxes for every record
in the found set.
• You can create an Adobe PDF or a Microsoft Excel file from your data to send as an
attachment. For more information, see
Save Records As PDF and Save Records As Excel.
Examples
Perform Find [Restore]
Send Mail [To: script examples::Field1; Subject: "This is
a test email"; Message: "Hello, world." ]
Send Mail [Send via SMTP Server; To: "Inventors SIG"; Subject: "New Member
Greetings"; Message: "Welcome to our group."]