• 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
How to quit an applet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to quit an applet?


  • Subject: How to quit an applet?
  • From: Neil Lee <email@hidden>
  • Date: Tue, 7 Jun 2005 21:27:46 -0400

This is a total newbie question, but I can't seem to find an answer anywhere.

I created a very basic applescript application that only has to run a shell command and then quit. Here's the code:

on run
do shell script "/Volumes/lester/Development/Webkit/WebKitTools/ Scripts/run-safari &"
quit
end run


(yes, this is a script to run Safari with the newly posted frameworks)

The problem is that after Safari launches, the script applet doesn't quit. It hangs and I have to force quit it.

Any pointers? I'm sure this is easy, but I haven't been able to find anything online that worked. I'ved tried "tell me to quit" as well as "continue quit" and neither worked.

Thanks!

Neil
--
Slumming at the beatnikPad : http://www.beatnikpad.com/
The person you love is 72.8% water.



_______________________________________________
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:
    • Re: How to quit an applet?
      • From: Brian Johnson <email@hidden>
  • Prev by Date: Binary math operations (and, or, etc.)
  • Next by Date: Re: Binary math operations (and, or, etc.)
  • Previous by thread: Re: Binary math operations (and, or, etc.)
  • Next by thread: Re: How to quit an applet?
  • Index(es):
    • Date
    • Thread