Waiting for script to exit
Waiting for script to exit
- Subject: Waiting for script to exit
- From: Christopher Brown <email@hidden>
- Date: Sun, 22 May 2005 01:59:15 +0100
Hi, I've been writing a small applescript to run a refactoring (simply done by running a shell command), and then reload the document in SubEthaEdit. However, the open command runs before the shell script has exited. Is there any way to force the commands to run in sequence?
set refacCommand2 to "echo \"" & refacCommand & " " & docPath & " " & refacArgs & "\" | " & refacPath & refacBinary & " >> /Library/Logs/HaRe.log" tell application "Terminal" to do shell script refacCommand2
tell application "SubEthaEdit" to open the first text document
Thanks
Chris |
_______________________________________________
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