Re: launch cocoa app with argument
Re: launch cocoa app with argument
- Subject: Re: launch cocoa app with argument
- From: "Daniel Angermeier" <email@hidden>
- Date: Fri, 9 Jun 2006 17:11:40 +0200
actually I don't want to open files with specific apps in my
application but I want that a user can open certain file types with my
application from the finder ("open with...").
and how can this be done if my app is already running. does it have to
register for a certain event ?
On 6/9/06, Sherm Pendley <email@hidden> wrote:
On Jun 9, 2006, at 9:37 AM, Daniel Angermeier wrote:
> I would like to be able to launch my cocoa app with certain files,
> e.g. jpg or audio files. How can that be done ?
Have a look at the -openFile:withApplication: method in NSWorkspace.
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden