property OnScriptCommandStart : TScriptCommandEvent;
TScriptCommandEvent = procedure(
CP : TObject; Node : TApxScriptNode;
Condition : SmallInt) of object;
TApxScriptNode = class(TObject)
Command : TApxScriptCommand; Data : String; Option : TOption;
Timeout : Word; Condition : Word;
TApxScriptCommand = (
scNone, scComment, scLabel, scInitPort, scDonePort,
scSend, scWait, scWaitMulti, scIf, scDisplay, scGoto,
scSendBreak, scDelay, scSetOption, scUpload,
scDownload, scChDir, scDelete, scRun, scExit);
Generated before each script command is executed.
The primary purpose of this event is to provide a mechanism for single stepping through a script file or for tracking the progress of a script. Node contains the command to be executed. Node.Command is one of the TApxScriptCommand values shown above. Condition contains the current condition code, one of ccXxx values shown above.
See also: OnScriptCommandFinish