• 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
getting the key window from another application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting the key window from another application


  • Subject: getting the key window from another application
  • From: Keith Alperin <email@hidden>
  • Date: Thu, 5 May 2005 20:41:57 -0500

Howdy. I'm trying to determine what the key window is from within a background process. I've looked into [[NSWorkspace sharedWorkspace] activeApplication], but that only gives me the process id. I've been unable to figure out how to get an NSApplication from the process id which would in turn enable me to get the key window. I found some posts about this in the cocoabuilder archives, but no definitive answers.

Many thanks,
Keith R. Alperin

_______________________________________________
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: getting the key window from another application
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: programmaticaly modify .nib files
  • Next by Date: Re: getting the key window from another application
  • Previous by thread: Re: posting message to text view from C-function
  • Next by thread: Re: getting the key window from another application
  • Index(es):
    • Date
    • Thread