The script functionality is rudimentary at present, to give us a chance to experiment with it and find out what is useful and what isn’t. Not all the error-checking or UI features are present.

The script files must be in the user data directory, and have an extension of .abs. Script files are created and modified with a text editor.

The initial line of the script must be exactly

SedAnal script 1

The following commands may be included in a script:

Command	Meaning	Example	
MENU FIT	Equivalent to clicking Fit preprocessed data on the main menu.	MENU FIT	
LOAD controlFile	Specify a control file to be loaded; controlFile can be either the name of a control file (see below), or $LAST.	LOAD MyExperiment\ABCD_Fit	
MODIFY expression	Change the value for a kinetic, molecular, or cell parameter from the value in the control file, and as previously modified. The symbols and format of the expression are the same as in the equation editor.	MODIFY K(1)=K(1)/10	
FIT	Equivalent to clicking Store control file and start fit on the control screen. See note below.	FIT	
blank lines	These lines are ignored.	[this line intentionally left blank]	
comment lines	These lines are ignored, except for checking spelling, grammar, and clarity of style.	// SedAnal is useful	

Specifying control files
The control file is identified by the following rules:
1) If it’s just a name, the complete path is completed by trying the directory of the most recent control file loaded, then the most recent control file stored for this instance of SedAnal, then the most recent control file stored for any instance of SedAnal. The idea is that SedAnal tries to guess what you mean if you just say, e g, ABCD_Fit.
2) If is a directory followed by a name (e g, MyExperiment\ABCD_Fit), the directory is assumed to be in the user data directory.
3) Anything else is a complete path (e g, C:\SedAnal\User_data\MyExperiment\ABCD_Fit).
4) If the control file name does not end in .abc, the extension is added. Thus, ABCD_Fit and ABCD_Fit.abc mean the same.

Storing control files
To avoid modifying the original control file, when you have FIT in a script, the control file is stored with the suffix “_script001”. For example, if the script in the example column above is run, the name of the control file with K1 a factor of 10 smaller will be ABCD_Fit_script001.abc, and ABCD_Fit.abc will not be changed.