There are six ways to initiateor performscripts:
FileMaker lacks most procedural triggersfunctions that fire automatically when certain events occur, such as creating or editing a record. (An exception is that you may configure a file to run a specific script when the file is opened or closed.) For a script to be performed, the user generally needs to actively click something. Scripts can be attached to layout objects so that they are triggered by a user clicking on the object, or they can be activated directly from the Scripts menu, if you've chosen to make particular scripts visible there. You can also use FileMaker Pro 8 Advanced to create custom menus that run scripts. There are other ways to call scripts externally through web publishing as well.
To tie a script to a custom menu item, see Chapter 13, p. 373. |
To call scripts externally through Instant Web Publishing, see Chapter 21, "Instant Web Publishing," p. 633. |
Finally there are some plug-ins on the market that offer event trigger functionality. Events from Waves in Motion is one such plug-in. We encourage you to visit FileMaker's website to see the latest offerings.
Part I: Getting Started with FileMaker 8
FileMaker Overview
Using FileMaker Pro
Defining and Working with Fields
Working with Layouts
Part II: Developing Solutions with FileMaker
Relational Database Design
Working with Multiple Tables
Working with Relationships
Getting Started with Calculations
Getting Started with Scripting
Getting Started with Reporting
Part III: Developer Techniques
Developing for Multiuser Deployment
Implementing Security
Advanced Interface Techniques
Advanced Calculation Techniques
Advanced Scripting Techniques
Advanced Portal Techniques
Debugging and Troubleshooting
Converting Systems from Previous Versions of FileMaker Pro
Part IV: Data Integration and Publishing
Importing Data into FileMaker Pro
Exporting Data from FileMaker
Instant Web Publishing
FileMaker and Web Services
Custom Web Publishing
Part V: Deploying a FileMaker Solution
Deploying and Extending FileMaker
FileMaker Server and Server Advanced
FileMaker Mobile
Documenting Your FileMaker Solutions