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

Re: do shell sounds



On 25-Dec-08, at 11:16 PM, Robert Poland wrote:

The whole purpose of this string was to see if a "do shell" was available to do this.


Leopard has a command line tool "afplay" that can play sound files. It can play AIFF, MP3 and I'm-not-sure-how-many-other formats.


do shell script "afplay /path/to/some/file.aiff"


_______________________________________________ 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>)
 >Re: do shell sounds: was Thirteen Scripters Scripting (From: Robert Poland <email@hidden>)
 >Re: do shell sounds (From: Bob Studer <email@hidden>)
 >Re: do shell sounds (From: Robert Poland <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.