Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Script fails syntax check for me, 10.1.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Script fails syntax check for me, 10.1.5
Authored by: osxpounder on Sep 23, '02 11:04:05AM
on run
	 set theText to "You are my liege lord and righteous lawgiver, master of all that you survey! What is your pleasure, O mighty one?"
	 say theText using "Victoria" saving to "YouRule.aiff"
end run
In any case, when I try this script, it fails. Script Editor says, "Unexpected end of line, etc. but found identifier." It highlights the word 'saving' in the script.

Any clues why this won't work for me? Where's my goof?

osxpounder

[ Reply to This | # ]

Script fails syntax check for me, 10.1.5
Authored by: piper on Sep 23, '02 11:16:56AM

I have the exact same problem here, and I need to figure it out so I can prank my friend!

J



[ Reply to This | # ]
Script fails syntax check for me, 10.1.5
Authored by: piper on Sep 23, '02 12:05:41PM
Figured it out! Gotta be running X.2! I was using a friend's computer with 10.1.x and when I went back to my own computer running X.2 it worked fine. According to Apple's Applescript web site, this is a new feature of speach in Applescript. http://developer.apple.com/ue/speech/applescript.html Therefore, use an OSX.2 box to create the sound, THEN you can put the sound ony any computer! J

[ Reply to This | # ]