Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to quit an applet?



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.