Startup Control

Loading an Initial Dataset

Normally Epina ImageLab remembers the dataset used most recently and loads this dataset after start-up (if the Option "Automatic Reload of the Recently Used Dataset" in the preferences is set). You can force Epina ImageLab to load a specific dataset by passing the filename of the dataset as a calling parameter to Epina ImageLab. If the filename does not contain a path specification Epina ImageLab tries to load the dataset from the current working directory.

In order to pass a parameter to Epina ImageLab you have to adjust the properties of the icon which is used to start Epina ImageLab. Right click the icon and add the dataset to be loaded upon startup to target string (use a blank to separate it from the calling path):

Running a Script during Startup

Likewise you can load and run a script by adding the filename of a particular script as a calling parameter. If the script name does not contain a path specification Epina ImageLab tries to load the script from the current script directory.

If an error occurs when running the script one of the following error codes will be displayed:

Error Code Explanation
-1 the script or file specified by the script does not exist
-2 script is too old (minimum required version is higher than installed Epina ImageLab version)
-3 script execution error
-4 script compilation failed
-5 script aborted by user

 

Hint: The loading of a datafile or the execution of a script can also be accomplished from the command line. For example, the command line input
imagelab.exe "c:\temp\myscript.iscr" "d:\mydata\test.ilab"
starts ImageLab, loads the dataset d:\mydata\test.ilab and executes the script c:\temp\myscript.iscr after loading the dataset. Please note that "imagelab.exe" might have to be replaced by the particular name of the executable in the case you are using a branded version of ImageLab (ask your vendor for details). The order of the script and the datafile path does not matter.

Please note that in order to be able to execute a script you have to have an appropriate license (Extended Edition or Enterprise Edition). The Basic Edition does not support scripts (see Comparison of Software Versions for details).