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
Windows script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 161
Originated in
FileMaker Pro 6.0 or earlier
Description
This script step creates a new document window, floating document window, or dialog window
based on the active window.
It is not necessary to enter values for each option. When no value is entered, FileMaker Pro uses
the default value associated with the Window menu
> New Window command.
See Working with windows and About window styles.
Note In FileMaker WebDirect and Custom Web Publishing, this script step opens a new virtual
window in the web browser. Inactive virtual windows remain open but are not visible. To change the
current (active) virtual window, use the
Select Window script step. Window style settings are not
supported.
Example 1
Goes to the Customers layout in a new window and sorts by the Customer ID field.
New Window [Style: Document; Top: Get ( WindowTop ) + 25; Left: Get (
WindowLeft ) + 25]
Go to Layout ["Customers"]
Sort Records by Field [Descending; Customers::Customer ID]
Example 2
Goes to the Print Invoices layout in a new floating window and enters Preview mode.
New Window [Style: Floating Document; Name: "Print Invoices"; Top: Get (
WindowTop ) + 25; Left: Get ( WindowLeft ) + 25]
Go to Layout ["Print Invoices"]
Enter Preview Mode [ ]