Getting info of a background-only app
Getting info of a background-only app
- Subject: Getting info of a background-only app
- From: Manoj Patwardhan <email@hidden>
- Date: Sat, 26 Apr 2003 08:55:20 -0400
I have a background-only application (with the NSUIElement flag set to 1).
At runtime, my application needs to figure out its full path because it
could be located anywhere, not necessarily in the Applications folder. How
can I do this programmatically for a background-only application?
NSWorkspace has a method to return the info dictionary of the active
application (which contains a key for the applications's full path).
However, for a background-only application, NSWorkspace returns nil for the
info dictionary.
Thank you!
Manoj Patwardhan
_______________________________________________
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.