Script Steps Reference

Table Of Contents
Chapter 13
|
Miscellaneous script steps 137
The following example opens Windows Notepad and opens the file My_File.txt on the root
level of the user's hard disk.
Open URL [No dialog; "file://c:/My_File.txt"]
The following example launches the preferred email application, opens a new email
message, and uses the value in the Email Address field to address the message. The
email address must start with mailto:.
Open URL [No dialog; "mailto:email address"]
You can also use the Open URL script step to open a shared FileMaker Pro file running
on another system, as follows:
Open URL [No dialog; "fmp7://system:user@testlab-mac/testdb"]
where ‘system’ is the FileMaker Pro account name, ‘user’ is the password, ‘testlab-mac’
is a DNS entry for the machine where the file resides (you can also use an IP address for
this parameter), and ‘testdb’ is the Filemaker Pro filename.
Important Account name and password information entered in an Open URL script step is
visible to users with script editing access privileges, and is therefore not secure.
Send Mail
Format
Send Mail [No dialog; To: <to>; CC: <CC>; BCC: <BCC>;
Subject: <subject>; Message: <message>; “<attachment>”]
Options
Perform without dialog instructs FileMaker Pro to put the composed email message
in the email application's outbox, ready to be sent. If this option is not selected, the
composed message is left open in the email application so it can be reviewed. In
Microsoft Outlook Express or Microsoft Entourage on the Macintosh operating
system, the new message is left in the Drafts folder.
•Click Specify to display the “Send Mail” Options dialog box where you can set
options for your mail. Choose to create One email using data from the current file,
or create Multiple emails (one for each record in found set).
For each of the following options, you can enter text directly, or click to enter
values from an address book (Windows), field, or calculation.
(Windows) Select Specify Email Addresses to enter one or more email
addresses. Separate each address with a semicolon or a carriage return
character.
Select Specify Field Name to specify a field that contains one or more email
addresses.