• 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: Michelle - Embedding a sound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Michelle - Embedding a sound


  • Subject: Re: Michelle - Embedding a sound
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 21 Feb 2001 13:34:36 -0800

On 2/21/01 12:51 PM, "Hellum Timothy" <email@hidden> wrote:

> I recall a very silly script by Michelle Steiner right around Christmas
> time, called "Clap" that had a clap sound embedded in it.
> My question is, how does one embed a sound in a script? I'm assuming you
> use Resedit on the resultant app one's created.

No - you just need Jon's Commands osax;

play sound : Play an snd format sound.
play sound sound -- A sound resource name or ID number, a sound file
reference or a sound descriptor.


Any system sound (as available and named in the Sound Control Panel: "Whit",
"Sosumi", etc.) works.

It seems to me I read somewhere about sounds being available now, or soon,
without a 3rd party osax. Since it doesn't appear in Standard Commands for
AS 1.5.5 (OS 9.1), maybe I glimpsed it in "things to come in AS 1.6"?

--
Paul Berkowitz


  • Follow-Ups:
    • Re: Michelle - Embedding a sound
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: [OT]: Mailman availability
  • Next by Date: Re: applescript-users digest, Vol 2 #408 - 14 msgs
  • Previous by thread: Michelle - Embedding a sound
  • Next by thread: Re: Michelle - Embedding a sound
  • Index(es):
    • Date
    • Thread