Development Guide
Table Of Contents
- Chapter 1 Introducing FileMaker Pro Advanced
- Chapter 2 Creating database solutions
- Chapter 3 Customizing database solutions
- Chapter 4 Debugging, analyzing, and optimizing files
- Chapter 5 Developing third-party FileMaker plug-ins
- About external functions
- About the example plug-in
- Installing, enabling, and configuring the example plug-in
- Description of the FMExample plug-in’s external functions
- Using the example plug-in
- Customizing the plug-in example
- Requirements for writing external function plug-ins
- FileMaker messages sent to the plug-in
- Avoiding potential Mac OS X resource conflicts
- Providing documentation for your plug-in
- Appendix A Feature comparison of the runtime application with FileMaker Pro
- Index
28 FileMaker Pro Advanced Development Guide
Disabling script steps
You can disable and enable script steps to test portions of a script.
When you run a script, disabled script steps are skipped.
To disable script steps:
1. Choose Scripts menu > ScriptMaker™.
Or, choose File menu > Manage > Scripts.
2. In the Manage Scripts dialog box, double-click the script name.
Or, click the Edit button in the Script Debugger dialog box.
3. In the Edit Script dialog box, select one or more script steps, then
click Disable or Enable.
For more information about debugging scripts, see Help.
Using the Data Viewer
You can use the Data Viewer to monitor expressions like field values,
local and global variables, and calculations. You can monitor these
expressions while running scripts or while testing them in the Script
Debugger. You can also monitor field values and variables in the
database file.
The Current tab shows the fields and variables that are in the currently
running script, fields that are referenced in calculations used in the
script, and global variables. The Watch tab monitors expressions that
you select until you remove them from the list.
To monitor fields, variables, and calculations:
1. Choose Tools menu > Data Viewer, or click the Open/Close Data
Viewer
button in the Script Debugger window.
2. In the Current tab, double-click a value to display a dialog box
where you can:
1 View, edit, and copy local or global variables.
1 View (but not edit) field values.
3. To sort expressions, click a column heading. Expressions sort
independently in this order: fields, global variables, local variables.
4. To add an expression to the Watch tab, click Add to Watch.
The expression is copied to the Watch tab, and the Watch tab opens.
5. To view or edit restricted-access scripts, click , then log into an
account that has full access privileges.
Note If you logged in to edit restricted-access scripts in the Script
Debugger, your access privileges also apply to the Data Viewer. If
you logged in from the Data Viewer, your access privileges also
apply to the Script Debugger. In either case, your editing privileges
last until you close the Script Debugger or the Data Viewer.
Click to view restricted
access expressions
Click a column heading
to sort