I found an association
<key>SqueakImageName</key>
<string>Pharo.image</string>
in *Info.plist* file inside Pharo.app bundle and replaced it with
<key>SqueakImagePath</key>
<string>/Applications/Pharo.app/Contents/Resources</string>
(See http://www.smalltalkconsulting.com/html/squeakinfoplist.html for a list
of available options)
Now Pharo asks for image file but still using ~/Documents in the Open File
dialog. I don't know if it is possible to open an image from inside the
Pharo.app.
2011/2/16 Schwab,Wilhelm K <[email protected]>
> On Linux, I simply edit the shell script to use the image of interest. I
> don't know enough about macs to figure out whether "launch xyz.app" is using
> the shell script or doing something completely different. Anybody?
>
>
>
>
> ________________________________________
> From: [email protected] [
> [email protected]] On Behalf Of Dennis Schetinin
> [[email protected]]
> Sent: Wednesday, February 16, 2011 10:39 AM
> To: Pharo-project
> Subject: [Pharo-project] Open another image with Pharo 1.1.1 one-click on
> Mac OS
>
> Is it possible to setup a one-click Pharo.app to ask which image to open at
> startup? It saves images inside Pharo.app package which is great, but how
> to open them?
>
> TIA
>
> --
> Dennis Schetinin
>
>
--
Dennis Schetinin