• 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: Shell script timing, regex
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell script timing, regex


  • Subject: Re: Shell script timing, regex
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 2 Dec 2005 10:53:53 -0800

On Dec 1, 2005, at 2:30 PM, Andrew Sasaki wrote:

The second issue is that I want to run a second shell script against the downloaded files, and it opens in a new terminal window and starts running before the first shell script is done. Is this as simple as putting the second script in a tell block directed at the first terminal window, or is there A Better Way?

It sounds like you're using 'tell application "Terminal" to do script ...', which, unless you want to see the Terminal spew, isn't really the best way. Use "do shell script" instead, and tell yourself -- it's quieter, more reliable, and will solve this particular problem automatically. See <http://developer.apple.com/ technotes/tn2002/tn2065.html> for various tips about how to use it.



--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Shell script timing, regex (From: "Andrew Sasaki" <email@hidden>)

  • Prev by Date: Re: [OT] My life after AS: shell commands, perl?
  • Next by Date: Re: Excel 2004 - How to set fill color of cells?
  • Previous by thread: Re: Shell script timing, regex
  • Next by thread: Re: Shell script timing, regex
  • Index(es):
    • Date
    • Thread