Scripts in FileMaker Use the
What is a script:
A script consists of a series of sequential steps in order to achieve a certain goal. Can make repetitive tasks simple or some tasks automatically executed, etc.
Before you create a script, you need to know what you need to accomplish.
Creation and management of scripts:
1. Through the shortcut key Ctrl_shift+s to open the Management Script dialog box, has the corresponding new, deletes, edits the operation to choose
2. The script has the difference between the operating platform, when creating the script, please pay attention to the compatible platform
3. When editing or composing a script, or with an * number followed by a script name, it means that the script has been manipulated without saving
Trigger for script:
There are 6 possible ways to trigger a script
Any object in 1.FileMaker can be defined as a button to trigger a script
2. scripts can be executed by calling sub-scripts
3. Select Script from the menu to execute manually
4. Execute scripts in the Administration scripts panel
5. Set the trigger trigger script at the layout or object level
6. file - settings in the File Options menu
Script parameters can be passed to the script in order to achieve different parameters for the incoming completion of different operation purposes.
Facilitates code modularity and simplifies program development
Debugging of Scripts :
Scripts can be debugged with the script Debugger and the data viewer
Script Debugger:
1. The Script Debugger allows you to step through the program and see how FileMaker handles each script step
Data viewer:
Data viewer is divided into current and monitored two functions
The data in the current panel, which shows the types of fields currently executing, the values of expressions or variables, and how they change
The monitor panel can be used to perform specific viewing steps to view the data.
This article is from "Angry Little Fai" blog, please be sure to keep this source http://cycle.blog.51cto.com/8569872/1676764
Scripting Learning in FileMaker