• 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
NSWorkspace - getting info about other applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWorkspace - getting info about other applications


  • Subject: NSWorkspace - getting info about other applications
  • From: Jeremy Dronfield <email@hidden>
  • Date: Fri, 6 Sep 2002 14:52:07 +0100

There have been several questions & answers lately relating to NSWorkspace, but none of them provide me with any clues for this problem. I have several applications which share the same user defaults (and therefore the same bundle identifier). I'm building an app which acts as a central co-ordinator for these other apps, getting and displaying information about them, and I need to know how to get the information.

The information I want to access is:
- Two Items ("SR1" and "SR2") from each bundle's infoDictionary;
- A value from the shared user defaults (not a problem - just listed here to illustrate).

I can't find anything in NSWorkspace that seems to fit. The reason for this, in part, is that this application has to accommodate later applications with unpredictable names being added to the set. The only thing they will have in common will be the said bundle identifier. I have a workaround in mind (building each app so that it automatically deposits those infoDictionary values in the defaults file when it runs, and then working from there) but I'd like to know if there's a "cleaner" approach.
-Jeremy

========================================
email@hidden // email@hidden
The Alchemy Pages:
- fractious fiction at http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSWorkspace - getting info about other applications
      • From: Ondra Cada <email@hidden>
    • Re: NSWorkspace - getting info about other applications
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Get parent process (Carbon question)
  • Next by Date: Re: Get parent process (Carbon question)
  • Previous by thread: Re[3]: gdb mycommand -withargsformycommand
  • Next by thread: Re: NSWorkspace - getting info about other applications
  • Index(es):
    • Date
    • Thread