Re: Need to make a script wait or pause
Re: Need to make a script wait or pause
- Subject: Re: Need to make a script wait or pause
- From: Christopher Nebel <email@hidden>
- Date: Wed, 17 Apr 2002 11:49:20 -0700
On Wednesday, April 17, 2002, at 05:58 AM, Bob Bader wrote:
I need to run some commands in terminal via an apple script. ...
The problem is that when "command 1" is still running "command 2" tries
to
run, but is dependant on command 1 finishing first.
Is there any way to have and apple script pause for a pre determined
amount
of time, i.e 5 seconds, so "command 1" can finish.
Ian Mantripp responded:
Use "delay", takes an integer for the number of seconds you want to
wait.
Or, if you're not relying seeing the results in a Terminal window, you
could use the "do shell script" scripting addition, which won't return
until the command is done.
--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.