I am trying to use the say command. Here is the code i have.
on choose menu item theObject
set theName to title of popup button 1 of window “Main”
tell application “Finder”
say theName using theName
end tell
end choose menu item
the menu items it chooses and gets the names from are all the voices on the computer like fred, agnes, bruce, spelled exactly.
it gives me this error during runtime:
AppleScript Error
Finder got an error: “Agnes” doesn’t understand the «event sysottos» message. (-1708)
Thanks, the second one worked. The weird thing is I have been using the say command in different scripts and it worked like the first one. Thats why I was confused.