Script Steps Reference
Table Of Contents
- 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
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Get Directory
- 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
- Enable Touch Keyboard
- Glossary
Files script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 197
Print Setup
Purpose
Sets print options, such as paper size and orientation, which can be stored with this script step.
Format
Print Setup [Restore; No dialog]
Options
• Perform without dialog prevents the Print Setup dialog box from displaying when the
script step executes. If you select Perform without dialog, the output from this script step
will be sent to the last specified printer and not the one specified in the Edit Script dialog
box.
• Specify page setup allows you to choose page setup options that are stored with the script
step.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
You can also have this script step performed with a dialog box so the user can specify print options.
You can use multiple Print Setup script steps within a script.
Example 1
Goes to the Print Invoices layout, sorts the records, changes the print settings, and prints.
Go to Layout ["Print Invoices"]
Sort Records [Restore; No dialog]
Print Setup [Restore; No dialog]
Print [ ]
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script No
FileMaker Go Yes
Custom Web Publishing No
FileMaker WebDirect No
Runtime solution Yes