IsRunning()

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

Function IsRunning()

Parameters

none

Return value

boolean - the current running mode

true - script is running in the real mode

false - preview mode

Example

Create a proxy database table only in the real mode

Function OnStartProcess( ok )

If this.IsRunning() Then db.Create()

End Function

See also

Cancel()

TextConverter's Methods