« Return to Thread: [squeak-dev] Double click on an data file

Re: [squeak-dev] Double click on an data file

by Javier Reyes :: Rate this Message:

Reply to Author | View in Thread

Thanks very much Edgar,

That's exactly what I was looking for.

Best regards,
                            Javier

On Mon, Jul 14, 2008 at 10:06 PM, Edgar J. De Cleene <edgardec2001@...> wrote:



El 7/14/08 2:14 PM, "Javier Reyes" <jreyes@...> escribió:

> Hello !
>
> I have created a Mac Application which stores certain information in files.
> These files are saved using Reference Stream. I have obviously provided a
> mechanism to read them back, but my problem comes if a user double clicks on
> the file icon at the Mac Osx operating system level. When that happens, the
> application opens with it's last image and the file is read as a text in a
> SystemWindow (Lots of fancy binary simbols!).  Is there a way I can control
> which method takes responsability of that process ?
>
> All the best,
>                             Javier

Use services.
You could made any exterrnal file was processed using your logic.
I add two examples of my own use, one for read objects saved to  disk the
other for my own "SqueakBooks"

Edgar







 « Return to Thread: [squeak-dev] Double click on an data file

LightInTheBox - Buy quality products at wholesale price!