Chapter 13. Scripting in Depth
Chapter 8 describes what ScriptMaker does and how to use it — we provide various practical examples of scripts automating a number of frequently performed database tasks. The examples we show you in Chapter 8, however, barely exercise the FileMaker scripting engine's power. In this chapter, we provide that deeper insight into a number of ScriptMaker's central concepts.
The FileMaker Pro 9 scripting engine evolved through previous versions and has grown into a powerful coding environment. Originally, FileMaker scripting offered a way to automate repetitive or tedious user actions.
Consequently, many scripts and script commands work with and through the solution interface, performing actions and accomplishing work in the same ways the user does. However, scripts can go far beyond mimicking the user and provide an environment of power and extended functionality.
Scripts in FileMaker Pro 9 have the ability to act directly on data and file elements and interact with other applications and services. Nevertheless, the scripting framework retains some of its original focus on the interface as the primary way of interacting with a solution. In this chapter, we explore a number of essential techniques to increase the depth of your command of FileMaker scripting.
Scripting the Control of Objects and Interface
Consider for a moment the ways your FileMaker solutions interact with users. A FileMaker solution's user interface is comprised of a series of layouts containing ...