
Re: Constructing Text to Speech?
Create an embedded AppleScript action with the following script:
- Code: Select all
set theText to "The current inside temperature is " & (value of variable "VARNAMEHERE") & " degrees."
say theText
be sure to change VARNAMEHERE to the actual name of your variable.
You could of course combine the lines into a single line as well - I just wanted to illustrate first how to concatenate strings together in AppleScript then illustrate how the say command works.