Robert B. Grossman sent [9.14a gmt 2004 March 19 Friday] : >Although MacOS X now recognizes Jmol as an application (thanks, >Henry, Tim, and Phil!), it is still not possible to set Jmol as the >default app for opening MOL files. I've posted a message to Apple >to see if there's a bug in the Finder, a flaw in Jmol, or neither. >
try telling the *file* to associate itself with Jmol: 1. do a Get Info on any mol file. 2. under Open with... choose Other and browse to your Jmol.app. 3. change the setting in the dialog box to Show All Applications. 4. Select Jmol.app and click OK. 5. if you want ALL mol files to open in Jmol, click the "Change All" button in the Show Info window. this works for me using various pdb files. more generally, I believe this issue could be resolved by setting the qppropriate plist values in JarBundler. AFAIK it is neither a bug nor a flaw. you can think of it as registering Jmol.app with OSX as an appropriate handler of pdb, mol, etc. (or chemical/x-pdb, chemical/x-mol, application/x-spt, etc.). the original process identified Jmol to OSX as an application - we packaged Jmol.jar with the proper metadata so the OS can recognize it for what it is. but it did not associate Jmol.app with any native file (or MIME) types. so OSX associates it with *no* file types (the correct behavior IMO - the other choice is to associate it with any file type). notice that you can not drag-and-drop a structure file onto Jmol.app yet because the app does not recognize the file. if you follow the above steps, though, you will be double-click the file - because the file will recognize the app. :-) this is a platform-specific issue, so I don't believe Jmol would make these associations automatically. note: all we want to do with JarBundler is to configure Jmol.app so it tells OSX what file types it can recognize. we are not building an installer, which may do many funky things with files and file types. I recall the iMol installer that happily (and without asking) changed all of my pdb, mol, and ent files to open in iMol. quite unfriendly. those more knowledgeable please correct any of my misconceptions. :-) regards, :tim -- timothy driscoll molvisions - molecular graphics & visualization <http://www.molvisions.com/> usa:north carolina:wake forest ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

