hello again,

i have worked on this a bit more.  so far i have come up with this:

NSArray *urls;
_LSCopyAllApplicationURLs(&urls);

i can use this to find all the apps on a system.  then using NSBundle i can get 
the identifier.  to be more specific on what i'm trying to do i would like to 
be able to review the files in a preferences folder and find the related app on 
the system.  so i was trying to come up with a list of identifiers for 
comparison.  but it seems that some files in a preferences folder (plists) do 
not match up with the identifier of the related app.  maybe this is due to the 
fact that a single app can create multiple plist files.  any input on how i can 
achieve what i'm trying to do?  hope this makes sense and thanks again,

rick





________________________________
From: Nikhil Khandelwal <[email protected]>
To: Rick C. <[email protected]>
Sent: Friday, June 5, 2009 5:34:23 PM
Subject: RE: finding bundle identifiers


-----Original Message-----
From: cocoa-dev-bounces+nikhil_khandelwal=persistent.co...@lists.apple.com 
[mailto:cocoa-dev-bounces+nikhil_khandelwal=persistent.co...@lists.apple.com] 
On Behalf Of Rick C.
Sent: Friday, June 05, 2009 2:55 PM
To: cocoa dev
Subject: finding bundle identifiers

hello,

is there a way to find all bundle identifiers that are installed?  i do know 
how to get the bundle identifier of an app for example, but i'm looking for a 
way to find all identifiers on a system.

thanks,

rick

Look for Launch Services application
It might help you
Otherwise send more details what u want to do.

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/nikhil_khandelwal%40persistent.co.in

This email sent to [email protected]

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.



      
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to