Dynamically open file with application of end user choise......
Dynamically open file with application of end user choise......
- Subject: Dynamically open file with application of end user choise......
- From: "Sutapalli Satyanarayana" <email@hidden>
- Date: Fri, 21 Aug 2009 01:08:52 -0600
Hi,
I am using Cocoa with Obj C.
I am using the following method to open a file associated with a particular application.
[[NSWorkspace sharedWorkspace] openFile:<some file path>]
But if the file is associated with certain application, it is opening.
If the file is not associated with any application, I want the user to select the application also with which the file has to be opened. In the following code we have to tell which application it has to open.
[[NSWorkspace sharedWorkspace] openFile:< some file path> withApplication:@"TextEdit"]
But I want user to select the application at run time dynamically.
--Satyam.
Thanks & Regards,
Satyanarayana SVV
Novell Software Development (I) Pvt. Ltd., Bangalore, India
9886555469 (mobile)
_______________________________________________
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