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

Re: beep


  • Subject: Re: beep
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 29 Apr 2011 15:38:56 -0500

On Apr 29, 2011, at 3:20 PM, Ron Hunsinger wrote:

Try:
do shell script "/usr/bin/afplay '/System/Library/Sounds/Tink.aiff'"

thanks! How long has 'afplay' been around. I tried this ...

property sndAlias : alias "Work_Files:Music:Robot Chicken:Robot Chicken close.mp3"
set sndPath to (quoted form of (POSIX path of sndAlias))
repeat 2 times
do shell script "afplay " & sndPath
end repeat

and it worked. I was using 'qtplay' because it allowed me to loop the sound. (Which I need.)
Don't know if I can get 'afplay' to loop, but the script above seems to show that I can.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >beep (From: louie <email@hidden>)
 >Re: beep (From: Ron Hunsinger <email@hidden>)

  • Prev by Date: Re: beep
  • Next by Date: Re: beep
  • Previous by thread: Re: beep
  • Next by thread: Sequential IF Processing
  • Index(es):
    • Date
    • Thread