Tinderbox 7 Icon

String.speak


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Data manipulation   [other Data manipulation operators]

 Baseline

 


String.speak()

speaks a string using Mac text-to-speech. If another string is being spoken, the new phrase is spoken after the current phrase is complete. Similarly

speak( …expression…) 

will evaluate its argument, speak the result, and also returns the result.

An optional second argument identifies the voice the speech synthesiser should use.