Speak (OS X)
 
Purpose 
Produces speech from text.
See also 
Format 
Speak [<text to be spoken>]
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 specifies a voice 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.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
No 
FileMaker Go 
No 
Custom Web Publishing 
No 
FileMaker WebDirect 
No 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
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.
Example 1 
Tells the user to enter a company name if the Company field is empty. Can be started by the OnRecordCommit, OnLayoutExit, or OnWindowClose script triggers.
If [IsEmpty ( Contacts::Company )]
Speak ["Enter a company name"]
End If
Example 2 
Speaks the contents of the Summary field in the current record.
Go to Layout ["Invoice Details"]
Speak [Invoices::Summary]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)