[squeak-dev] [Windows] Drop a changeset onto an image file to start the image and install the changeset

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Nov 16 15:12:39 UTC 2020

Hi Jakob,

thanks for the tip, never heard of this before! I have updated the gist accordingly. :-)




PS: I forgot to mention that this change requires System-ct.1189 (inbox) to work correctly.
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Jakob Reschke <forums.jakob at resfarm.de>
Gesendet: Samstag, 14. November 2020 22:15:16
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] [Windows] Drop a changeset onto an image file to start the image and install the changeset

Hi Christoph,

Glad you are tapping into another favorite subject of mine (Windows file types)!

HKEY_CLASSES_ROOT is a merged view that is supposed to be read from only. Instead put the keys under HKEY_CURRENT_USER\Software\Classes\ and it should work equally well and only apply to the current user. Writing the keys will therefore also not require elevated privileges.

Kind regards,

Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de<mailto:Christoph.Thiede at student.hpi.uni-potsdam.de>> schrieb am Sa., 14. Nov. 2020, 20:47:

Hi all Windows users of Squeak,

I wrote a simple registry file configures the .image file extension under Windows to be associated with Squeak.exe. In particular, this adds the following enhancements to the image file experience within the Windows shell:

- .image files are displayed with a Squeak icon and a correct description in the explorer & related places

- double-click an .image file to run it with Squeak.exe

- drag a .cs/.st file onto an image file to run it with Squeak.exe and immediately install the changeset/Smalltalk file into the image.

The .reg file is available here: https://gist.github.com/LinqLover/7e917a103763facb8a6fe20ba154b43f

To install it, download the file, double-click it, and confirm the prompt.

It assumes your Squeak.exe is located in C:\Program Files\Squeak\; if you have installed it to a different path, all references to the executable need to be updated respectively.

This might also become more interesting in connection with an OpenSmalltalk Launcher, provided that it will exist at some near time in the future (see http://forum.world.st/Re-Unity-Happens-One-Step-at-a-Time-was-Re-Porting-my-programs-from-Squeak-3-10-2-to-3-5-td5122478.html). :-)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201116/41295286/attachment-0001.html>

More information about the Squeak-dev mailing list