Re: Relaunching application
Re: Relaunching application
- Subject: Re: Relaunching application
- From: Nathan Day <email@hidden>
- Date: Wed, 5 Jun 2002 16:49:53 +0930
You could write an AppleScript applet to do that
on run
tell application "MyApplication"
quit
run
end
end
save as an application and then use NSWorkspace to run it.
On Wednesday, June 5, 2002, at 08:11 AM, Jonathan Wight wrote:
One obvious way is to create a little helper app for this. Your main app
launches the helper app, the helper uses apple events (or just kill() if
you're feeling mean) to terminate the main app, the helper app then
re-launches the main app and kills itself. Pretty straightforward.
Jon.
On 06/04/2002 17:18, "email@hidden" <email@hidden> wrote:
My application needs to be relaunched for some changes to take effect.
Is there any way to automate this, or am I stuck showing a notice to
the
user and just quitting?
Owen Anderson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.