Robert B. Grossman sent [11.28a gmt 2004 March 19 Friday] :

>>I don't believe you can edit this file directly; at
>>least, I couldn't.  but if you know how to code plists you can add
>>MIME types, file extensions, and more to the app in JarBundler.
>
>You can edit the plist file with any text editor.  CONTROL-click on
>the app, choose Show Package Contents, and drag the
>Contents/Info.plist icon onto Text Editor.
>
>Following the instructions here
>(http://developer.apple.com/documentation/MacOSX/Conceptual/
>BPRuntimeConfig/Concepts/PListKeys.html#//apple_ref/doc/uid/
>20001431/TPXREF107), I added these lines to the file:
>
><key>CFBundleTypeExtensions</key> <string>mol,pdb</string>
><key>CFBundleTypeMIMETypes</key>
><string>chemical/x-mdl-molfile,chemical/x-pdb</string>
>
>But nothing has changed in the Finder.  Jmol still isn't recognized
>as an app that can open MOL files.  Anyone know if my format for the
>properties is incorrect?
>

hi Bob,

I am pretty sure you need to edit the properties in JarBundler before
the application is created; see my previous email.

also, CFBundleTypeExtensions and CFBundleTypeMIMETypes require arrays;
for example,

   <key>CFBundleTypeExtensions</key>
   <array>
      <string>pdb</string>
      <string>mol</string>
   </array>
   <key>CFBundleTypeMIMETypes</key>
   <array>
      <string>chemical/x-pdb</string>
      <string>chemical/x-mol</string>
   </array>


maybe you can add these to the plist file of an app, but I doubt it...

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

Reply via email to