RE: Michelle - Embedding a sound
RE: Michelle - Embedding a sound
- Subject: RE: Michelle - Embedding a sound
- From: Hellum Timothy <email@hidden>
- Date: Wed, 21 Feb 2001 17:56:49 -0500
Paul,
What I ended up doing was opening a custom sound I'd made in ResEdit,
single-clicking and copying the "SND" resource, then opening my applescript
file and pasting in the resource and saving the script on close. The custom
alert works like a charm.
Thanks for the info on calling a local alert on the users machine, though.
Didn't know a script could do that.
Cheers,
Timothy
Photodesk
The Globe and Mail
www.globeandmail.ca
(416) 585-5375
_______________________________
Once again the thought strikes me:
Even half is quite a bit of wit.
~ Tom Waits
>
----------
>
From: Paul Berkowitz
>
Sent: Wednesday, February 21, 2001 4:34 PM
>
To: Applescript-Users
>
Subject: Re: Michelle - Embedding a sound
>
>
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
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users