Specify Script dialog box
Use this dialog box to choose a script to perform in a file that is called by the Perform Script script step, the Perform Script On Server script step, a button, or a script trigger.
This dialog box also appears in FileMaker Pro Advanced when you customize a menu item to perform a script.
To specify a script to perform in a file:
1. Select the current file or another specified file (data source) from the list.
2. Select a script from the list.
3. For Optional script parameter, type the text you want to use or click Edit and use the Specify Calculation dialog box to build a more complex parameter.
4. Click OK.
If you open this dialog box when you customize a menu item, you can also create, duplicate, edit, or delete scripts.
 
To
Do this
Create a script
Click Create script button.
Duplicate a script
Select a script and choose Duplicate from the Action pop-up menu.
A copy of the selected script appears in the list, with the word "copy" added to the original script name. To create a duplicate script with the same name as the original script, select it in the list and use Shift+Duplicate.
Note  Script folders cannot be duplicated or created from this dialog box. For more information on working with folders, see Managing scripts using folders.
Edit a script
Select a script and choose Edit from the Action pop-up menu.
Tip  You can also press Alt-double-click (Windows) or Option-double-click (macOS) to open the script in the Script Workspace.
Delete a script
Select a script and click Delete script button.
Notes 
When you create, duplicate, edit, or delete a script using the Specify Script dialog box, your changes are not undone when you click Cancel.
If you choose Perform Script or Perform Script On Server from the Script Workspace, the create, duplicate, edit, and delete commands are not available.
The create, duplicate, edit, and delete commands are not available for external FileMaker files.
Related topics 
Creating and editing scripts
Perform Script script step
Defining or changing a button
Defining custom menus (FileMaker Pro Advanced)
Setting script triggers for layouts
Setting script triggers for objects