• 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: Hellum Timothy <email@hidden>
  • Date: Thu, 1 Mar 2001 11:59:05 -0500

Hi Carl,

In my script I inserted the following code:

play sound "Red Alert"

-where "Red Alert" is the name of the sound I embedded with ResEdit. This
is the only reference in the script to the SND resource. The "play sound"
calls on Jon's Commands. The following are a list of the commands the
script in its entirety calls on (as reported by Smile):

-- Scripting Additions used by "add - new item alert v8" :
Desktop Printer Manager : application
Display Dialog : display dialog
English Dialect : file, string, number, close, item, move
Jon's Commands : play sound
Read/Write Commands : open for access, read, close access
Standard Additions : adding folder items to
TextLists : MakeListFromText

Hope this helps.

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: Carl West
> Sent: Thursday, March 1, 2001 11:45 AM
> To: Hellum Timothy; AppleScriptList
> Subject: Re: Michelle - Embedding a sound
>
> Hellum Timothy wrote:
> >...
> > 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.
>
> How do I get applescript to play a snd resource?
>
> --
> Carl West email@hidden
> 617.262.8830 x246
>
> I have no superfluous leisure; my stay must be
> stolen out of other affairs; but I will attend you awhile.
>
> - Isabella, Measure for Measure, Act 3 Scene 1


  • Prev by Date: Re: Michelle - Embedding a sound
  • Next by Date: Re: Making a log file
  • Previous by thread: Re: Michelle - Embedding a sound
  • Next by thread: Re: simple math equations
  • Index(es):
    • Date
    • Thread