Working with windows
When you want to control the flow of a procedure or work on several tasks concurrently, you can have more than one window open at a time. For example, additional open windows can display alerts, prompt a user for information, or provide different views of data.
Creating a window that opens with a script:
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.
Choose Scripts menu > Script Workspace.
For Window Name, enter a title for the window.
The window name appears in the window’s title bar.
If the window’s height or width is greater than the screen displaying the window, FileMaker Pro displays the window at the largest size possible.
If the window’s height or width is smaller than the operating system allows, FileMaker Pro displays the window at the smallest size possible.
Tip  You can create a new window off-screen by supplying negative top and/or left values, which can be useful for multiple-monitor environments.
Select Specify Advanced Style to open the "Specify Advanced Styles" Options dialog box.
For Window Style, choose one of the following window styles. See About window styles.
For Window Controls, select which controls you want to enable in the new window.
Enable the zoom control and Mode pop-up menu at the bottom left of a document window.
Note  When you do not select a window control, the corresponding menu command is disabled.
Click OK to close the "Specify Advanced Styles" Options dialog box, then click OK to save your changes and return to the script editing pane.
Choose File menu > Save Script (Windows) or Scripts menu > Save Script (OS X), then close the Script Workspace window.
You can use a script or button script step to control a window, even if a button is disabled in the window’s title bar.