Need to make a script wait or pause
Need to make a script wait or pause
- Subject: Need to make a script wait or pause
- From: Bob Bader <email@hidden>
- Date: Wed, 17 Apr 2002 08:58:03 -0400
I need to run some commands in terminal via an apple script.
My script is a follows:
------------------------------------
ignoring application responses
tell application "Terminal"
do script with command ,
"command1"
do script with command ,
"command2"
end tell
end ignoring
-----------------------------------------
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.
Thanks
Bob
_______________________________________________
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.