Script Steps Reference
Table Of Contents
- Script steps reference (alphabetical list)
- About script steps
- 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 Device
- Insert From Index
- Insert From Last Visited
- Insert From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- 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
- Truncate Table
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Show Custom Dialog
- Allow Formatting Bar
- Refresh Object
- Beep
- Speak (OS X)
- Dial Phone
- Install Plug-In File
- Install Menu Set
- Set Web Viewer
- Open URL
- Send Mail
- AVPlayer Play
- AVPlayer Set Playback State
- AVPlayer Set Options
- Refresh Portal
- Send DDE Execute (Windows)
- Perform AppleScript (OS X)
- Execute SQL
- Send Event
- Comment
- Flush Cache to Disk
- Exit Application
- Get Directory
- Enable Touch Keyboard
- Glossary
Fields script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 108
Export Field Contents
Purpose
Exports the contents of a single field in the active record to a new file.
Format
Export Field Contents [<table::field>; “<filename>”; Automatically open;
Create email]
Options
• Specify target field specifies the field to be exported. If no field is specified, FileMaker Pro
will export the contents of the current field in the active table.
• Specify output file specifies the name and location of the file to which the field contents will
be exported. For more information, see Creating file paths. If no file is specified, the user is
asked to choose a filename and location when the script step is performed. You can choose
to Automatically open file or Create email with file as attachment after saving.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
If the contents of the exported field is text, then FileMaker creates a UTF-16 format text file.
Notes
• FileMaker WebDirect does not support the Specify output file option. FileMaker WebDirect
exports field contents to the web browser’s default download location.
• FileMaker WebDirect does not support this script step in mobile browsers.
• FileMaker Go export text as a UTF-8 format text file.
Example 1
Opens a dialog box to set the export path and filename, then exports the image.
Export Field Contents [Products::Picture; ”Mobile Phone.png”]
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server No
FileMaker Go Yes
Custom Web Publishing No
FileMaker WebDirect Partial
Runtime solution Yes