I recently wrote an Applescript to export a ChemBioDraw selection as a mol file. One of the difficulties I'm seeing is that the mol file has the erroneous file name in the first line. It should be the same as the conversation. I'm not sure how to set this attribute with applescript. I also believe there is a flaw in the ChemBiodraw algorithms used to generate a mole file. This has been filed to support; however, I'm wondering how one might modify the file's properties or remove the first line of the text file and replace it with the file's name.
The molfile format is a well-established format with the benefit of being a human-readable text format, which means you can open and read them with any text editor. See Chris Swain's Macs in Chemistry site on the Applescript I made (using previous examples he had uploaded) for additional information and access to the Applescript: http://www.macinchem.org/applescript/exportAsmol.php krunker
Please sign in to leave a comment.