• 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: "play sound"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "play sound"


  • Subject: Re: "play sound"
  • From: Mr Tea <email@hidden>
  • Date: Sun, 17 Mar 2002 01:24:40 +0000

This from JollyRoger

> For anyone interested, I've written a small scriptable
> application called Play Sound <http://MicrocosmSoftware.com/playsound/>

Yo ho ho! 15 men on a dead man's chest! Avast ye! Thanks, JR. This could
liberate my copy of iTunes

One thing, though. In OS X, if I run a script that doesn't tell 'Play
Sound' to quit (ie, like the examples on the web page) I get these results:

tell application "Play Sound" to play sound "ChuToy"

-->"A fatal error occured: -192

tell application "Play Sound" to play sound 6

-->"A fatal error occured: -204"

...and if I specify a sound to play by file path (needs 'alias' in front
of it to work OMM) the fatal error number given is 0

If I run scripts like these repeatedly, the errors pile up as I go,
giving results that look like this:

"A fatal error occured: 00-204-204-204-204-204-204"

Crumbs. Any idea what's going on?

Regards,

Mr Tea
--
"Always remember to warm the pot."
_______________________________________________
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.

  • Follow-Ups:
    • Re: "play sound"
      • From: JollyRoger <email@hidden>
    • Re: "play sound"
      • From: JollyRoger <email@hidden>
    • Re: "play sound"
      • From: JollyRoger <email@hidden>
References: 
 >Re: "play sound" (From: JollyRoger <email@hidden>)

  • Prev by Date: Re: Getting a PID and killing a process
  • Next by Date: Re: Open files
  • Previous by thread: Re: "play sound"
  • Next by thread: Re: "play sound"
  • Index(es):
    • Date
    • Thread