Double-click on image (Windows)
Joshua 'Schwa' Gargus
squeak-dev at lists.squeakfoundation.org
Sat Sep 7 22:34:10 UTC 2002
Thanks for the answers.
I should have been more specific. I'm running under Windows 2000
with quite some number of service packs installed (I suppose this
qualifies as "some flavor of NT").
When I type "assoc .image", there is no file association found. I
tried to change this by adding registry keys under HKEY_CLASSES_ROOT
for .image and image_auto_file (neither previously existed). "assoc
.image" then returns "image_auto_file", as expected. However, Squeak
still starts up with SqueakPlugin.image.
Nevermind, I figured it out. After the changes above, .image showed up
in the Tools/Folder Options/File Types menu. I then set it to the default
type (image_auto_file), and now it works.
Thanks to you and Michael,
Joshua
On Sat, Sep 07, 2002 at 01:41:29PM -0700, Ned Konz wrote:
> On Saturday 07 September 2002 01:22 pm, Joshua 'Schwa' Gargus wrote:
>
> > I'm running on Windows, and whenever I click on an image file, it
> > opens the Squeak Plugin image instead of the image I clicked on.
> > I can open the desired image by dropping it on the VM, but this
> > is a PITA compared to the desired behavior. Any solutions?
>
> Re-map the association to use your main Squeak VM. And specify a name
> for the image (as %1) in the mapping.
>
> It should be something like (assuming you're using some flavor of NT):
>
> C:\> assoc .image
> .image=image_auto_file
>
> C:\> ftype image_auto_file
> image_auto_file=e:\Squeak\Squeak.exe "%1"
>
> You can probably do this through the explorer's menu choice
> Tools/Folder Options/File Types
>
> Or in the registry under HKEY_CLASSES_ROOT\.image which should name a
> file type (like "image_auto_file" above), and the default entry in
> HKEY_CLASSES_ROOT\<filetype>\shell\open\command (in my case
> HKEY_CLASSES_ROOT\image_auto_file\shell\open\command), which is in my
> case e:\squeak\squeak.exe "%1" .
>
> --
> Ned Konz
> http://bike-nomad.com
> GPG key ID: BEEA7EFE
>
More information about the Squeak-dev
mailing list
|