• 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
Need to make a script wait or pause
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Need to make a script wait or pause
      • From: Christopher Nebel <email@hidden>
    • Re: Need to make a script wait or pause
      • From: Ian Mantripp <email@hidden>
  • Prev by Date: Re: How do I script DropStuff?
  • Next by Date: Re: How do I script DropStuff?
  • Previous by thread: Re: InDesign Scripting question
  • Next by thread: Re: Need to make a script wait or pause
  • Index(es):
    • Date
    • Thread