Stéphane Ducasse wrote:
On Apr 15, 2010, at 10:24 PM, Lawson English wrote:

Stéphane Ducasse wrote:
The one click image is a bundle.
        u can open the bundle and change the image
Now I suggest you install the vm and you double on your image.
I do not use the oneclick because the package cache is inside and because I 
cannot decide what I execute easily

it should be easy to create an applescript shell that would launch first and 
let you choose which image you wanted to start with. Maybe some other command 
line parameters could be selected at that point also?
probably but not for me.
If you have it and it works we will happily include it.



tell application "Finder"
set myal to folder "Resources" of folder "Contents" of application file "Pharo-1.0.app" of folder "Desktop" of folder "lawsonenglish" of folder "Users" of startup disk
   open (choose file of type "image" default location myal as alias)
end tell


Not sure how to set the default behavior to call that script when the icon is double-clicked nor how to hide unwanted file names but it sorta works :-/.
I'm not sure what you mean about the package cache though. Does the VM use the 
cache in the .app directory differently than when it appears it the regular 
directory?


Mc creates a cache close to the image.

How is this a problem. Is there a way to chose the files to use?

Lawson

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to