• 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: Login Item for All Users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Login Item for All Users


  • Subject: Re: Login Item for All Users
  • From: Dave Hersey <email@hidden>
  • Date: Sat, 17 Nov 2007 13:33:02 -0500

You can do this using the old LoginItemAPI sample that DTS provides (or used to anyway--I haven't asked lately). I just verified that it still works on 10.5. It allows you to install login items that run for any user and work on 10.5 and earlier without handling things differently for different versions of the OS.

Is there some reason not to use that approach, other than making use of the latest things available on 10.5?

Thanks,

- d


On Nov 17, 2007, at 10:22 AM, Andreas Mayer wrote:


Am 17.11.2007 um 15:45 Uhr schrieb JanakiRam:

But what i want to achieve is --> My app should get opened when any user of
the machine logs in ( after giving proper authentication details in the
Login window )

Did you *read* the document, I pointed to?

"Global Login Item
A global login item is a login item that is launched when any user logs in. Installing a global login item is roughly equivalent to installing that login item for all users on the system: every time a user logs in, loginwindow launches that user's login items and all global login items.


In Mac OS X 10.5 and later you can install a global login item using the shared file lists interface to Launch Services.

IMPORTANT: Prior to Mac OS X 10.5 there is no supported way to install a global login item. If you need this functionality, please contact Developer Technical Support (DTS)."



Andreas
_______________________________________________
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Login Item for All Users (From: JanakiRam <email@hidden>)
 >Re: Login Item for All Users (From: Vlad Alexa <email@hidden>)
 >Re: Login Item for All Users (From: Andrew Farmer <email@hidden>)
 >Re: Login Item for All Users (From: JanakiRam <email@hidden>)
 >Re: Login Item for All Users (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: [NSHost currentHost] halts app for 2s on Leopard
  • Next by Date: RE: How to know OS Version
  • Previous by thread: Re: Login Item for All Users
  • Next by thread: Re: Login Item for All Users
  • Index(es):
    • Date
    • Thread