IsRunning()
Description
Description
The function is helpful if some portions of your script should run in the real mode only, not in the preview mode. The Preview mode is run when any change is made to your setup if preview auto update option is turned on. Real mode is executed when you press the Run button, i.e. the actual conversion process is started.
Syntax
Syntax
Function IsRunning()
Parameters
Parameters
none
Return value
Return value
boolean - the current running mode
true - script is running in the real mode
false - preview mode
Example
Example
Create a proxy database table only in the real mode
Function OnStartProcess( ok )
If this.IsRunning() Then db.Create()
End Function
See also
See also