TApxScript.OnScriptCommandFinish

TApxScript

property OnScriptCommandFinish : TScriptCommandEvent

Generated after each script command is executed.

This event complements the OnScriptCommandStart event and can also be used to implement single-stepping or for tracking the progress of the event. See OnScriptCommandStart for a description of the types and constants used by OnScriptCommandFinish.

For script commands that include a "wait" (WAIT, WAITMULTI, UPLOAD, DOWNLOAD) OnScriptCommandFinish is generated after setting up for the command and before the command actually finishes waiting. The indication that the command has finished waiting (or transferring) is the OnScriptCommandStart of the next command.

See also: OnScriptCommandStart