• 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 Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do Shell Script


  • Subject: Re: Do Shell Script
  • From: Shane Stanley <email@hidden>
  • Date: Mon, 10 Aug 2015 23:28:23 +1000

On 10 Aug 2015, at 11:20 pm, Daniel Chavez <email@hidden> wrote:

I want it to have voiceover to say certain text.
Here’s what I have.
do shell script "osascript -e 'tell app \"Finder\" to say \"” & Network Utilities Application Loading & "\"' > /dev/null 2> /dev/null &"

You don't need 'do shell script', and you don't need osascript, and you certainly don't want the Finder involved:

say "Network Utilities Application Loading" without waiting until completion


-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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: 
 >Do Shell Script (From: Daniel Chavez <email@hidden>)

  • Prev by Date: Do Shell Script
  • Next by Date: Strange Errors
  • Previous by thread: Do Shell Script
  • Next by thread: Re: Do Shell Script
  • Index(es):
    • Date
    • Thread