Re: Shell script timing, regex
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