Hi,
I wonder which method is called when an user click twice on an file icon in the Finder. The application I talk about is not document based.
I have an application that I use to manipulate some data base files, I associated a file type to it. I do pick up the Doc name into the App and then manipulate it. Works fine, but I would like to double click on a file, start the App and have ready to go setup.
When clicking on that file type, the main application starts up correctly but I do get an error:
I assume that I do lack a method that handles the notification during the application start up. Frankly I do not have an idea how to find it out.
I wondered for a while about the NSApplicationDelegate, but I am not sure how it should work.
A question arise as well, Should I rewrite the Application to be a Document based one, even if I do not really need it ?
I will appreciate some help in pushing me in the right direction
/petron
I wonder which method is called when an user click twice on an file icon in the Finder. The application I talk about is not document based.
I have an application that I use to manipulate some data base files, I associated a file type to it. I do pick up the Doc name into the App and then manipulate it. Works fine, but I would like to double click on a file, start the App and have ready to go setup.
When clicking on that file type, the main application starts up correctly but I do get an error:
The document create_db.dbmm could not be opened. Create DB cannot open files in the Create DB Doc format.
I assume that I do lack a method that handles the notification during the application start up. Frankly I do not have an idea how to find it out.
I wondered for a while about the NSApplicationDelegate, but I am not sure how it should work.
A question arise as well, Should I rewrite the Application to be a Document based one, even if I do not really need it ?
I will appreciate some help in pushing me in the right direction
/petron