• 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
Re: Waiting for script to exit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Waiting for script to exit


  • Subject: Re: Waiting for script to exit
  • From: Christopher Brown <email@hidden>
  • Date: Sun, 22 May 2005 13:11:47 +0100

Hi,

Thanks for the link. I would prefer not to force people who are going to use my re-factoring to have to install another application. Is there anyway I can do it using the Mac OS X applescript?

Thanks,

Chris Brown.


On 22 May 2005, at 08:35, Emmanuel wrote:

At 1:59 AM +0100 5/22/05, Christopher Brown wrote:

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


If you can afford using Smile ($ 0.00) as your AppleScript environment, this is addressed at:
<http://www.satimage.fr/software/en/unix_code_poll.html>


Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40kent.ac.uk


This email sent to email@hidden


_______________________________________________ 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
  • Follow-Ups:
    • Working with big lists
      • From: Rob Stott <email@hidden>
References: 
 >Waiting for script to exit (From: Christopher Brown <email@hidden>)
 >Re: Waiting for script to exit (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Zoom - How to get/set in Photoshop CS?
  • Next by Date: Working with big lists
  • Previous by thread: Re: Waiting for script to exit
  • Next by thread: Working with big lists
  • Index(es):
    • Date
    • Thread