Getting CocoaSqueak to open up an image ...

Ned Konz ned at bike-nomad.com
Mon Mar 31 02:59:43 UTC 2003


On Sunday 30 March 2003 05:27 pm, jennyw wrote:
> Hmm. I think I figured this out but I still have a few questions
> ...
>
> First, I realized that squeak.image needed to be in
> CocoaSqueak.app/Contents/Resources, and that squeak.changes needs
> to be in the same directory, and that SqueakV3.sources needs to be
> in
> CocoaSqueak.app/Contents/Frameworks/Squeak.framework/Versions/A/Res
>ources ...
>
> I guess sharing an image, changes, and sources with another VM
> isn't really practical?  I mean, if one wishes to be able to launch
> Squeak from the Dock?  This might be an Apple problem ... I wrote a
> shell script to open the image with CocoaSqueak, but it won't let
> me put that in the Dock (I'm guessing only .apps can go in the
> Dock?).

Yeah, but you can use the AppleScript editor to make a shell script into an .app.
I just made an applescript app that I can put in the dock that reads like this (all one line):

do shell script "cd /Users/wordy/Desktop; Squeak3.4-MacOS-Full/Squeak\\ 3.5.0Beta4.app/Contents/MacOS/Squeak\\ VM\\ Opt Squeak3.4-MacOS-Full/Squeak.image"

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list