Re: Find default application for file of particular extension
Re: Find default application for file of particular extension
- Subject: Re: Find default application for file of particular extension
- From: Filip van der Meeren <email@hidden>
- Date: Thu, 28 May 2009 17:02:22 +0200
On 28 May 2009, at 16:36, Nikhil Khandelwal wrote:
Hi all,
I want to find out which application is the default one for .x
extension file in my application and to make my application the
default one for that extension.
For finding out who is "owning" an extention you should use the Launch
Services (http://developer.apple.com/documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html#/
/apple_ref/c/func/LSGetApplicationForInfo). And to make your
application the default for that extention, it is the same service...
but another method (http://developer.apple.com/documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html#/
/apple_ref/c/func/LSSetHandlerOptionsForContentType)
Its an urgent project requirement, so please reply as soon as
possible.
Thanks,
NIKHIL
Filip van der Meeren
email@hidden
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@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden