Creating Script Buttons
Although you can run any script from the Script menu list, it's easier to just click a button than to click, drag, and select. But script buttons do more than save a couple of seconds. For instance, it's easy to forget which script belongs with a layout. And if other people use your database, they could make a remarkable mess of it by running the wrong script at the wrong time.
To create a button for a script
1 .Choose View >Layout (Control+L/ Command+L). Switch to the layout where you want to place the button.2 .Click the Button tool (Figure 9.12).
Figure 9.12. The Button tool is the quickest way to create a new button in a layout.

Figure 9.13. After you add the button to the layout, specify the action the button will perform.

Figure 9.14. When you create a button, FileMaker automatically switches to the Text tool for input.

About Buttons
There are many ways to make buttons for your interface. The easiest is to just use the Button tool, which does a reasonable job of making simple text buttons with geometric shapes. You can also use premade art. Some earlier versions of FileMaker included sample graphic buttons (Appendix A for premade button sets that you can download.
Figure 9.15. Sample buttons.



