Double-click on image (Windows)
Ned Konz
ned at bike-nomad.com
Sat Sep 7 20:41:29 UTC 2002
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
|