Re: Getting and displaying application icons
Re: Getting and displaying application icons
- Subject: Re: Getting and displaying application icons
- From: Tom Sutcliffe <email@hidden>
- Date: Wed, 7 May 2003 19:29:27 +0100
argh no there's API's for this... use NSWorkspace's iconForFile.
Possibly also fullPathForApplication.
Then you just have to know how to use NSImage (don't ask me though!)
cheers,
tomsci
On Wednesday, May 7, 2003, at 06:11 pm, Andreas Schempp wrote:
I had to get the application icon of non-running apps.
What I've done is to read the Info.plist file, wich is always at the
same location.
You know from there where the application icon is.
But this will only work with bundles...
Am Dienstag, 06.05.03 um 04:48 Uhr schrieb Danny Swarzman:
I want my program to find the application icons of other programs and
show
them.
I start with a file, say Something.app. I suppose that I use NSBundle
pathForResource to find the .icns in the file. Where do I go from
there?
Where is the structure of the icons documented? Classes, methods for
finding them?
Any information appreciated.
-Danny Swarzman
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.