How to setup "Open with" Squeak for images (jpeg etc) (bug in script path handling?)

Milan Zimmermann milan.zimmermann at sympatico.ca
Mon Nov 17 02:18:05 UTC 2003


On November 16, 2003 07:33 pm, Bert Freudenberg wrote:
> Milan Zimmermann wrote:
> > Bert,
> >
> > Thanks again for your suggestion - we now have a way to open graphics
> > from OS File Manager into squeak! The script worked on the first try (I
> > added . at the last line).
>
> Glad it worked. Note that on most platforms you can just drag'n'drop
> images into the Squeak window. 

I did not realize that, thanks. should work but sounds like i would not have 
luck with that anyway :-)

> Unfortunately, for X11 nobody has
> implemented that, yet.
>
> > There is something that is likely a Squak bug or feature: Basically, the
> > only way for the script to be "sourced" by squeak is if I put it to my
> > $HOME/dev/smalltalk directory (I have the image and source there) WITHOUT
> > specifying the full-path-to-script. Any other combination (attempt to
> > specify path or put the script in another directory) fails.
>
> I hadn't acually tested this on Linux ;-)
>
> I think there is or was a bug in the handling of the script path, which
> is somewhat complicated. You could try giving it a "file:" URL instead.

I tried with "file:/" and it did not work either but what I have I'am happy 
with. 

However, would it be useful to report this bug somewhere (where :-) ) Thanks 
again, Milan




More information about the Squeak-dev mailing list