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

Re: do shell sounds


  • Subject: Re: do shell sounds
  • From: Steve Hayman <email@hidden>
  • Date: Fri, 26 Dec 2008 01:15:44 -0500

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
  • Follow-Ups:
    • Re: do shell sounds
      • From: Robert Poland <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>)

  • Prev by Date: Re: do shell sounds
  • Next by Date: Re: do shell sounds
  • Previous by thread: Re: do shell sounds
  • Next by thread: Re: do shell sounds
  • Index(es):
    • Date
    • Thread