Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: do shell sounds: was Thirteen Scripters Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do shell sounds: was Thirteen Scripters Scripting



Thanks Bob,

Your suggestion won't compile.

Removing the word "file" compiles but gives error "-1700".

Adding ".aiff" makes no difference to either.

Didn't see "do shell", was it left out on purpose???

OS 10.5.6.


On Dec 25, 2008, at 12:31 PM, Bob Studer wrote:

On Dec 25, 2008, at 9:35 AM, Robert Poland wrote:

Now if someone could come up with  "do shell" replacement for;

tell application "Play Sound" to play "iMac HD:Users:rpoland:Documents:clutter:Sounds:click"

So what is "click"? Is it an MP3 or AIFF file? If so, you can tell Play Sound to open it:

tell application "Play Sound" to open file "iMac HD:Users:rpoland:Documents:clutter:Sounds:click"




--Bob


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

References: 
 >Re: Thirteen Scripters Scripting (From: David Marshall <email@hidden>)
 >do shell sounds: was Thirteen Scripters Scripting (From: Robert Poland <email@hidden>)
 >Re: do shell sounds: was Thirteen Scripters Scripting (From: Bob Studer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.