Re: beep
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>) |