Re: do shell sounds
Re: do shell sounds
- Subject: Re: do shell sounds
- From: Robert Poland <email@hidden>
- Date: Fri, 26 Dec 2008 07:35:28 -0700
Thanks David,
I get errors with all your suggestions in both Smile and Script Editor.
On Dec 26, 2008, at 7:19 AM, David Marshall wrote:
On Fri, 26 Dec 2008 06:34:35 -0700, Robert Poland wrote:
But I can't get it to work;
do shell script "afplay /iMac HD/Users/rpoland/Documents/clutter/
Sounds/click.aiff"
Goes to a help window with no sound.
If you're booted from "iMac HD," then the correct path would be
Volumes/iMac HD/Users/rpoland/Documents/clutter/Sounds/click.aiff
or, more simply,
/Users/rpoland/Documents/clutter/Sounds/click.aiff
(Additionally, the space in "iMac HD" needs to be escaped in the
longer version, so the full command would be either
do shell script "afplay Volumes/iMac\ HD/Users/rpoland/Documents/
clutter/Sounds/click.aiff"
or
do shell script "afplay 'Volumes/iMac HD/Users/rpoland/Documents/
clutter/Sounds/click.aiff'" )
- - - - -
Dave
Bob Poland - Fort Collins, CO
_______________________________________________
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