The configuration of the customized menus can be saved as an .omc file, which can be easily shared with your others. The .omc files should be placed in the User Files Folder, the Group Folder and the Installation Folder of Origin. By Default, all of the .omc files in these folders will be automatically listed under the Preference: Menu. Origin will first list the .omc files under the User Files Folder, then the Group Folder and then the Installation Folder of Origin. The order of the files in the same folder is determined by the alphabetical order of the file names.
The omc.ini file can help you manage the .omc files easily. With the omc.ini file, you can
| Note:
The omc.ini can be saved in the User Files Folder or the Group Folder or the Installation Folder of Origin. And it can only manage the .omc files in the same folder. |
An omc.ini file should contain two sections. The first section is called Conifg, which can be used to set the maximum number of files in a folder that will be listed under Preference: Menu and also the display order of the files. The other section is called Options, which can be used to set an .omc file as the default menu option under Preference: Menu.
Suppose we have four .omc files ImageProcessing.omc, Curve Fititng.omc, Statistics.omc and SignalProcessing.omc in the User Files Folder. And we only want the first three files to be shown. The desired display order is Statistics.omc, ImageProcessing.omc and CurveFitting.omc. Also, the ImageProcessing.omc should be set as default. The following omc.ini file should be:
[Config] NumOMCLevels=3 ;Menu will ordered as the file list below OMCFile1=Statistics OMCFile2=ImageProcessing OMCFile3=CurveFitting [Options] ; Default selected menu OMCLevel=ImageProcessing
Note:
|
In this section, we will give an example to show you how to create an omc.ini file under Windows Operation System which is used in the previous section.