GUI Actions

Top  Previous  Next

You will find in the Mnova installation folder ('documents\scripts') the GUI actions that you will be easily able to run with an easy script. The script below will apply an "Auto Peak Picking" analysis:

function doActionTest()

{

mainWindow.doAction("nmrAutoPeakPicking");

}

If you want to run any other action just replace the red action with any action of the the list below. Of course, you can add to the script as many actions as you want.

Here you can see an example of this tool to apply several actions to all the spectra opened in the same document:

DoActionscript

This script will generate a stack plot of all the opened spectra. You can use this script to run whatever doAction you desired, just by changing the name into the brackets.