• 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: Who's launching me?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Who's launching me?


  • Subject: Re: Who's launching me?
  • From: Gregory Weston <email@hidden>
  • Date: Sun, 12 Feb 2006 18:24:36 -0500

Paul J. Lucas wrote:

	Is there any way for an application to know what other
	application launched it?

	I want to be able to distinguish between being launched via the
	Finder and launched as an "external editor" for some other
	application, e.g. iPhoto.

Someone's probably already responded (I've got digest lag) but just in case, check out the getppid() function. _______________________________________________
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: Who's launching me?
      • From: Gen Kiyooka <email@hidden>
  • Prev by Date: Re: NSMenu on click of a button
  • Next by Date: Re: Who's launching me?
  • Previous by thread: Re: Who's launching me?
  • Next by thread: Re: Who's launching me?
  • Index(es):
    • Date
    • Thread