Re: Scripting audio feedback?
Re: Scripting audio feedback?
- Subject: Re: Scripting audio feedback?
- From: Mr Tea <email@hidden>
- Date: Tue, 26 Feb 2002 01:43:06 +0000
This from Emmanuel - dated 25/2/02 10:15 pm:
>
Is there a file named "Sound Scripting" in your "Scripting Additions" folder?
Hmm. Must have forgotten about that one. Or failed to notice when it
arrived. But...
tell application "Sound Scripting"
set myAlert to current alert sound
set current alert sound to "Laugh"
beep
set current alert sound to myAlert
end tell
...doesn't look like a very economical way to play a sound. At least on the
page. Can this be trimmed?
Further to my previous suggestion that iTunes was the ideal way to play
sounds in OS X, there's a huge 'but' sticking out the back of it. As I don't
use iSounds for listening to music, I hadn't considered that using it to
play an alert sound might interfere with whatever else was going on. But it
does. Other playlists, radio streams - anything that's already playing will
be stopped dead by using iTunes to play an alert. (At least in OS 9 where I
was tinkering with it - but a pound to a penny it's the same in OS X.)
Perhaps the iTunes scripting development team could look at a "concurrently"
boolean to go with the play command. I'm surprised it's not there already,
but then... maybe they thought that no-one in their right mind would want to
use the raw power of iTunes just for playing alerts and notification sounds.
Gurgle. Twitch.
Mr Tea
--
Brew of the day: [ ibid ]
_______________________________________________
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.