Help

Table Of Contents
Creating scripts to automate tasks
F
ILEMAKER PRO HELP 442
6. If you created a new button, type a label for the button at the insertion point.
7. To change appearance of the button, see Setting the fill, line style, and borders for objects,
layout parts, and the layout background.
8. Click OK.
9. Switch to Browse mode or Find mode to use the button.
Notes
To see buttons on a layout, choose View menu > Show > Buttons.
If a button references a script or script step, a button badge appears in the lower right
corner of the button. If the button has other FileMaker Pro badges associated with it, the
button badge could be obscured by the other badges and therefore not be visible. For more
information about badges, see
Identifying badges on layout objects.
To change button text, click the Text tool in the status toolbar.
In the Button Setup dialog box, you can:
choose whether the pointer will change to a hand cursor when it is over the button.
choose items in the Show Compatibility list to see which script steps are available in
FileMaker
Pro (Macintosh or Windows), FileMaker Go (iOS), Custom Web
Publishing, or FileMaker
WebDirect.
Perform Script is useful if you want to run subscripts. You can choose options to Pause,
Resume, Exit, or Halt any script that is currently running. Here is a general description of
what happens to the currently running script when a user clicks the button:
Pause (the default): a paused script remains paused.
Resume: a paused script will be resumed after the button’s script executes.
Exit: a current paused script is exited. If the current script was called by another script,
control returns to the original script.
Halt: execution of all scripts (except the button’s script) is halted.
Another type of button that you can create is a popover button, which displays a popover.
See Working with popovers on layouts.
Related topics
Script steps reference (category list)
Script steps reference (alphabetical list)
Copying a button
When you copy a button, you copy the object and the button definition. If you copy a button from
another database file, make sure that any fields, layouts, or script references are accurate for the
current database.
To copy a button:
1. If the button is in another database file, open the file.
2. In Layout mode, select the button and choose Edit menu > Copy.
3. Switch to the layout where you want the button to go.