Script Steps Reference

Table Of Contents
Chapter 13
|
Miscellaneous script steps 125
Example
Set Error Capture [On]
Perform Find [Restore]
If [Get (LastError) <> 0]
Beep
Show Custom Dialog ["Couldn't find the record..."]
End If
Speak (Mac OS)
Format
Speak [<text to be spoken>]
Options
Click Specify to display the “Speak” Options dialog box, where you can set the following
options.
Type the text to be spoken directly in the text entry area, or click Specify to create
your spoken text from a calculation.
Use Voice lets you select from the various voices available on your computer.
Wait for speech completion before continuing tells FileMaker Pro to wait until the
speech is completed before continuing with the next script step.
Web compatibility
This script step is not web-compatible.
Description
Produces speech from text. You can enter a literal text string or use a calculation to create
the text to be spoken. You can also specify which voice synthesizer to use and whether
or not to wait for the speech to be completed, before continuing with the next script step.
If the database is opened on a non-speaking computer, the script can still be edited, but
only the default voice synthesizer is available. Speak script steps are not executed when
the script is run on a non-speaking computer.