Re: Re: How to make my application open file directly from Finder?
Re: Re: How to make my application open file directly from Finder?
- Subject: Re: Re: How to make my application open file directly from Finder?
- From: Raul <email@hidden>
- Date: Tue, 17 Oct 2006 22:37:38 +0200
I's not Document Based application.
In other systems , the parameter argv is what you can take to do
things about input filenames.
I only what to know , if finder open a file with my application and
then i code to do the things to handle and open this file.
Thanks.
If I understand you properly, you're describing a document-based
application. If you've created an XCode project using the "Cocoa
Application" template, then you're missing all the automatic
machinery that allows you to handle documents.
If you create a new XCode project using the "Cocoa Document-based
Application" template, the behavior you described is automatically
handled for you. All you need to do is supply the Document Type
information in your project and it "just works".
Give this *entire document* a thorough read: http://
developer.apple.com/documentation/Cocoa/Conceptual/Documents/index.html
That should get you going.
--
I.S.
> Hi ,
>
> I see that some programs can open files directly fromfinder.
>
> How to get the filename attribute when you open file from Finder?
>
> Thanks.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40gmail.com
>
> This email sent to email@hidden
_______________________________________________
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