Hi,
I have several Squeak VMs lying around in various locations on my Mac. I want one (John's newest 3.8.19 VM) to be the default when an image is double-clicked.
This works: open the information dialogue for a particular .image file, set the VM to the right thing, close the dialogue.
This does NOT work: open the same information dialogue, set the VM, make it apply to *all* .image files. (Symptom: as soon as I confirm the change for all files, the setting is mysteriously switched back to the previous, outdated one.)
It may be an OS X problem, I don't really know; perhaps someone here has a solution...
(I don't want to delete the Squeak VMs all over the place; some of them are Croquet VMs after all.)
Best,
Michael
It's an os-x issue. When you multiple applications that claim to open a particular file type (like an image file) then Launch services uses the CFBundleVersion in the applications info.plist to determine which version of app to use
<key>CFBundleVersion</key> <string>3.8.19b1</string>
http://www.dribin.org/dave/blog/archives/2006/08/02/versioning_os_x_apps/
Now on my machine, when I pick an image and control click and select open with.... I get a list of oh mmm 100 or so, but the very first one says (default) Squeak 3.8.19b1 Well which means Launch Services is happy (at least for me).
Now what you could try is duplicating the VM, see if that changes what it thinks it should be doing. Also you can follow the information at http://www.macosxhints.com/article.php?story=20031215144430486 to rebuild your launch services database and see what happens
On Oct 30, 2008, at 12:55 AM, Michael Haupt wrote:
Hi,
I have several Squeak VMs lying around in various locations on my Mac. I want one (John's newest 3.8.19 VM) to be the default when an image is double-clicked.
This works: open the information dialogue for a particular .image file, set the VM to the right thing, close the dialogue.
This does NOT work: open the same information dialogue, set the VM, make it apply to *all* .image files. (Symptom: as soon as I confirm the change for all files, the setting is mysteriously switched back to the previous, outdated one.)
It may be an OS X problem, I don't really know; perhaps someone here has a solution...
(I don't want to delete the Squeak VMs all over the place; some of them are Croquet VMs after all.)
Best,
Michael
-- = = = ======================================================================== John M. McIntosh johnmci@smalltalkconsulting.com Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ========================================================================
Hi John,
On Thu, Oct 30, 2008 at 9:41 AM, John M McIntosh johnmci@smalltalkconsulting.com wrote:
http://www.macosxhints.com/article.php?story=20031215144430486 to rebuild your launch services database and see what happens
aye, that did the trick. Thanks a lot! :-)
Best,
Michael
squeak-dev@lists.squeakfoundation.org