How to Send a Structure to a Drawing Program

Using the right mouse button on a spectrum that has a structure associated with it will bring up a menu choice Send to.

You will then see the menu choice Default Structure Editor and any other structure editors that you have defined. The default structure editor is the program that is the default viewer for files with the .mol extension.

To add other structure editors to the list, create a simple text file named AUTOIMP.STR and place it in the same directory as the NISTMS program. For each drawing program that you want to use, place the following line in this file:

"Name" "Fully extended file name" "%1"

For example:

"DrawIt" "D:\Program Files\DrawAllStuff\DrawIt.exe" "%1"

The quotation marks are necessary. The Name is the name that will appear on the Send to menu. The Fully extended file name is the name of the drawing program with the full path to the drawing program.

The "%1" will allow the program to send the mol file to the drawing program.

NOTE: Only chemical drawing programs that support command line reading of mol files can be used in this way.