Script Steps Reference
Table Of Contents
- Chapter 1 Introduction
- Chapter 2 Control script steps
- Chapter 3 Navigation script steps
- Chapter 4 Editing script steps
- Chapter 5 Fields script steps
- Set Field
- 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
- Chapter 6 Records script steps
- Chapter 7 Found Sets script steps
- Chapter 8 Windows script steps
- Chapter 9 Files script steps
- Chapter 10 Accounts script steps
- Chapter 11 Spelling script steps
- Chapter 12 Open Menu Item script steps
- Chapter 13 Miscellaneous script steps
- Appendix A Glossary
Chapter 13
|
Miscellaneous script steps 147
Description
Sends a DDE (Dynamic Data Exchange) command to another application to execute a
series of commands available in that application. FileMaker Pro sends DDE execute
commands, but does not receive them.
Notes
• Because DDE is a Windows feature, if you run a script containing a Send DDE
execute script step on a Mac OS based computer, the script step is ignored. (An error
code is generated, which can be captured with the Get(LastError) function.
• When a FileMaker Pro script first establishes a DDE connection, the connection stays
open to execute subsequent script steps for the same service name and topic. If the
script includes another DDE Execute script step using a different service name or
topic, FileMaker Pro closes the current connection and opens another with the new
service name and topic. All open connections close when the script is completed.
Example
The following script opens a URL in Internet Explorer. (Internet Explorer must be open
when this step executes.)
Send DDE Execute [Service Name: "iexplore"; Topic: "WWW_OpenURL";
Commands: "www.filemaker.com"]
Perform AppleScript (Mac OS)
Format
Perform AppleScript [“<applescript text>”]
Options
Click Specify to display the “Perform AppleScript” Options dialog box, where you can set
the following options.
• Calculated AppleScript lets you create a calculation to use as the AppleScript
text.
• Native AppleScript lets you manually enter the text of an AppleScript (up to 30000
characters). Indenting of repeat loops and conditional statements is not supported.
Web compatibility
This script step is not web-compatible.
Description
Sends AppleScript commands to another application. You can create a calculation to
generate the AppleScript commands to be sent, or you can type the commands directly
into the Native AppleScript text area.