Developer’s Guide
Table Of Contents
- Chapter 1: Installing FileMaker Pro Developer Edi...
- Chapter 2: Binding solution files
- The binding process—an overview
- Before binding
- Binder and runtime terminology
- Specifying the primary file
- Naming the runtime solution
- Assigning the binding key
- Choosing auxiliary files
- Choosing binding options
- Assigning the three-character extension
- Specifying a location for solution files
- What happens during binding
- Binding cross-platform solutions
- Changing solutions
- Chapter 3: Preparing and managing runtime soluti...
- Chapter 4: Distributing your bundled solution
- Appendix A: Feature comparison—runtime Appendix ...
- Appendix B: About the TechInfo database
- Index
Preparing and managing runtime solutions 3-15
The first time you play a movie from the other platform (that is, a
Windows movie in the Mac OS or a Mac OS movie in Windows),
FileMaker Pro prompts you for the location of the movie. Keep the files
in a common folder and avoid choosing the wrong file—this could lead
to unexpected results.
Creating cross-platform scripts
Though most ScriptMaker steps work cross-platform, some steps rely
upon or take advantage of platform-specific features. The following
steps are platform-specific:
Windows-only script steps
1 DDE Execute
1 Send Message
1 Insert Object
1 Update Link
Mac OS-only script steps
1 Send Apple Event
1 Perform AppleScript
1 Speak
Platform-specific script steps are skipped when run on a different
platform. Also, platform-specific script steps are shown in italics when
viewed on a different platform.
About the Status (CurrentPlatform) function
FileMaker Pro includes a status function that lets you determine the
platform on which the solution is being run. This allows you to perform
different script actions such as changing to a different layout or
performing a platform-specific script step.
The Status (CurrentPlatform) function returns a 1 when run on a
computer using the Mac OS and a 2 when run on a computer using
Windows. Use this function with the If script step to perform different
actions depending on the current platform.
If [“Status (CurrentPlatform)=1]
Perform Script [Sub-scripts, “Print in Mac OS”]
Else
Perform Script [Sub-scripts, Print in Windows”]
End If