• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting audio feedback?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Scripting audio feedback? (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Need help scripting print dialogs in AppleWorks 6.2.2
  • Next by Date: Re: String-to-constant coercions (was Bug in OS 9.2.1/2 S > 1.6-1.8.2b? and Set t to true as boolean)
  • Previous by thread: Re: Scripting audio feedback?
  • Next by thread: Re: Scripting audio feedback?
  • Index(es):
    • Date
    • Thread