Re: Dynamically open file with application of end user choise......
Re: Dynamically open file with application of end user choise......
- Subject: Re: Dynamically open file with application of end user choise......
- From: "I. Savant" <email@hidden>
- Date: Fri, 21 Aug 2009 16:19:08 -0400
On Aug 21, 2009, at 3:08 AM, Sutapalli Satyanarayana wrote:
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.
... um ... then pass the dynamically-chosen application instead of
hard-coding the string.
--
I.S.
_______________________________________________
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