Re: get icon of a running process
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.