Re: Application Termination for Mac Reboot
Re: Application Termination for Mac Reboot
- Subject: Re: Application Termination for Mac Reboot
- From: j o a r <email@hidden>
- Date: Tue, 8 Mar 2005 13:16:53 +0100
On 2005-03-08, at 12.51, apr trainees wrote:
i've referred :
http://developer.apple.com/documentation/MacOSX/Conceptual/
BPSystemStartup/Tasks/CreatingStartupItems.html
Did you also read this (linked from the URL you provided above):
<http://developer.apple.com/documentation/MacOSX/Conceptual/
BPSystemStartup/Concepts/BootProcess.html#//apple_ref/doc/uid/20002130/
CJBDEDDD>
In particular:
"Important: The startup items discussed in this section are
system-level modules that provide low-level services to all users.
These should not be confused with the Startup Items pane of the
Accounts System Preference, which specifies applications to launch when
a specific user logs in."
StartupItems are not intended to be GUI or user level applications, but
rather system "daemons", faceless tools that provide some sort of
service to other applications. Per-user applications, and applications
with GUI that needs to be auto-launched should not be implemented as
StartupItems. What solution you would use instead depends on the type
of application you are developing, but I think that in general what
you're looking for is some sort of "Login Item". I don't know of any
technotes from Apple that describes how you would do this, but there is
a lot of stuff in the list archives. For example:
<http://www.cocoabuilder.com/archive/message/2005/2/17/128515>
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden