Re: "play sound"
Re: "play sound"
- Subject: Re: "play sound"
- From: JollyRoger <email@hidden>
- Date: Sun, 17 Mar 2002 09:32:29 -0600
Hi folks,
There's a new version of Play Sound up on the server.
I've changed the error handling to use the standard mechanism to return all
errors. When any error is generated, the script editor will show the
default "The application Play Sound got an error" dialog. To prevent the
dialog from showing, wrap the play sound command in a try block like so:
tell application "Play Sound"
repeat with x from 1 to 17
try
tell application "Play Sound" to play sound x
end try
end repeat
quit
end tell
I hope you will enjoy using Play Sound as much as I enjoyed writing it.
Please let me know if you have any more suggestions / criticisms.
Script on... :)
JR
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.