Other app's Dock Icon
Other app's Dock Icon
- Subject: Other app's Dock Icon
- From: Justin Lundy <email@hidden>
- Date: Tue, 19 Aug 2003 12:17:01 -0700
How do I get an active application's dock icon? I've tried:
NSImage *appIcon = [[[NSWorkspace sharedWorkspace]
iconForFile:[[NSWorkspace sharedWorkspace]
fullPathForApplication:@"SomeApp.app"]] copy];
But this just returns the application's regular icon, which does not
show any special Dock badges or the such. The other option,which I
believe is not possible in Cocoa, would be to call the other
application using NSApplication's applicationIconImage, but I have no
idea how to point to an other application.
Any thoughts would be greatly appreciated,
Justin
----
"Never give up, Never surrender."
- Capt. Peter Quincy Taggart
----
_______________________________________________
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.