TOnRunLine
Unit: IFSPas.Pas
TOnRunLine is called each time a line is processed. So you can call Application.ProcessMessages or do some other things. Return ENoError to let the script continue.
Declaration:
TOnRunLine = function(ID: Pointer; Sender: TIfPasScript; Position: Longint): TCs2Error;