• 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: Robert Cerny <email@hidden>
  • Date: Mon, 24 Nov 2003 10:55:53 +0100

Well,
I would start with getting the path to the running app:
NSArray *arguments = [NSArray arrayWithArray:[[NSProcessInfo
processInfo] arguments]];
now, the argument 0 contains the full path to the executable. Since the
basic structure is well-known, you shouldn't have a problem grabbing
icon file.

HTH
Robert

On 24.11.2003, at 10:14, Tavis wrote:

> 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.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.

References: 
 >get icon of a running process (From: Tavis <email@hidden>)

  • Prev by Date: NSStatusBar malfunctioning in Panther?
  • Next by Date: Unable to launch Installer package
  • Previous by thread: get icon of a running process
  • Next by thread: Re: get icon of a running process
  • Index(es):
    • Date
    • Thread