RE: List all installed applications in Mac OSX using Cocoa.
RE: List all installed applications in Mac OSX using Cocoa.
- Subject: RE: List all installed applications in Mac OSX using Cocoa.
- From: "ROSE,ROBERT W (HP-Corvallis,ex1)" <email@hidden>
- Date: Mon, 7 Apr 2003 11:55:42 -0700
How did you find this out? :-) There are several "undocumented" functions
that I've discovered certain Apple MacOS X applications use using 'nm' that
I would like to have access to myself.
One set of APIs is the Apple Scheduler, which is used by the Software Update
preferences pane. It uses the following undocumented functions:
__LWSchedulerOpenItemAction
__LWRemoveSchedulerAction
How did you find out what parameters to pass? :-)
very curious,
-robert rose
hp
-----Original Message-----
From: David Remahl [
mailto:email@hidden]
Sent: Monday, April 07, 2003 6:21 AM
To: Sindhu Gururaj
Cc: email@hidden
Subject: Re: List all installed applications in Mac OSX using Cocoa.
There is this way, but it uses a private function call:
NSArray *apps = nil;
LSInit(1);
_LSCopyAllApplicationURLs(&apps);
/ Rgds, David
On Monday, April 7, 2003, at 01:43 PM, Sindhu Gururaj wrote:
>
Hi All:
>
>
Is there a way using Cocoa, to get a list of all applications that a
>
user has
>
installed on a Mac OSX ?
>
I am trying to implement something similar to the old MacOS 9 "Open
>
with
>
Application" dialog box, which would display a list of all available
>
applications.
>
>
Pls note:- I don't want to launch the finder application.
>
>
Thanks.
>
>
with rgds,
>
>
rashmi.
_______________________________________________
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.