• 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
Re: get icon of a running process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get icon of a running process


  • Subject: Re: get icon of a running process
  • From: Edison Thomaz <email@hidden>
  • Date: Mon, 24 Nov 2003 08:00:26 -0800

Hi there,

You can get the icon of an app like this....

NSString* appPath = [[NSWorkspace sharedWorkspace]
fullPathForApplication: @"AppName"];
NSImage* appImage = [[NSWorkspace sharedWorkspace] iconForFile:
appPath];

Thomaz

On Nov 24, 2003, at 6:53 AM, email@hidden wrote:

>
> Message: 3
> Date: Mon, 24 Nov 2003 01:14:37 -0800
> Subject: get icon of a running process
> From: Tavis <email@hidden>
> To: email@hidden
>
> Hi,
>
> I am trying to figure out the best way to get the icon of a running
> process.
>
> Any suggestions or code samples would be great!
>
> Thanks.
_______________________________________________
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.

  • Prev by Date: Re: Debugging not working in Xcode 1.0.1
  • Next by Date: Re: Save a NSAppleScript to a file
  • Previous by thread: Re: get icon of a running process
  • Next by thread: Re: NSArchiver's efficiency
  • Index(es):
    • Date
    • Thread