When I call SpectrophotometricColorCalibration (SPCC) from a script there is a problem that when the SPCC process ends it clears the script dialog window. What is left is an empty script dialog window with only tabs and some edit field values visible. Everything else in the dialog has been removed.
I use SPCC the same way as other processes. Below is a sample code:
Any idea what is wrong or am I using it incorrectly?
Jarmo
I use SPCC the same way as other processes. Below is a sample code:
Code:
var P = new SpectrophotometricColorCalibration;
P.applyCalibration = true;
… rest of the initialization is removed for this example
// imgWin.mainView.beginProcess(UndoFlag_NoSwapFile);
P.executeOn(imgWin.mainView);
// imgWin.mainView.endProcess(); Error: View.endProcess(): the view is not being processed
Any idea what is wrong or am I using it incorrectly?
Jarmo