• 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: Agent Applications and launchd
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Agent Applications and launchd


  • Subject: Re: Agent Applications and launchd
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 05 Jan 2006 08:54:46 -0800
  • Thread-topic: Agent Applications and launchd

After I replaced my 50 lines of code with calls to the functions in Apple's
LoginItemsAE.c and re-tested my app, I discovered another reason why using
LoginItemsAE.c is a good idea: AliasData.

Apple's code adds the AliasData key/value pair to your login item.  My own
code did not do that.

I could not find any documentation on AliasData; I presume that it is needed
for your login item to launch if the user moves it, and is probably some
kind of serialized FSRef, which I would have had to reverse-engineer had I
continued developing with my own code.


 _______________________________________________
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

  • Follow-Ups:
    • Re: Agent Applications and launchd
      • From: Keith Alperin <email@hidden>
    • Re: Agent Applications and launchd
      • From: John Stiles <email@hidden>
References: 
 >Re: Agent Applications and launchd (From: Keith Alperin <email@hidden>)

  • Prev by Date: [SOLVED] Re: Scaled image in NSButtonCell flipped - drawInRect:
  • Next by Date: Re: Synchronized outlets and actions
  • Previous by thread: Re: Agent Applications and launchd
  • Next by thread: Re: Agent Applications and launchd
  • Index(es):
    • Date
    • Thread