Re: [twsocket] TnScript Event Line Capture

2006-11-24 Thread Francois Piette
I have a trigger event defined that executes a procedure. TnScript1.AddEvent(1, '10.10.30.','',[efIgnorecase], EventProcessingRoutine); When the EventProcessingRoutine procedure runs in response to the trigger is there a way to see/capture the text string/line that triggered the

Re: [twsocket] TnScript Event Line Capture

2006-11-24 Thread Dod
Hello, Personnaly I do my own buffer storage up to xxx lines and then parse it backward when needed. My buffering is started/stopped upon some triggers. Regards. I have a trigger event defined that executes a procedure. TnScript1.AddEvent(1, '10.10.30.','',[efIgnorecase],

Re: [twsocket] TnScript Event Line Capture

2006-11-24 Thread D. Yeatman
Thanks Dod, As Francois said it likely won't be easy. It looks like I may have to do some of the same thing you have done. It looks pretty straightforward to modify FindEventString to copy the data to a match save buffer when a match is detected. Because of the asynchronous nature of the

Re: [twsocket] TnScript Event Line Capture

2006-11-24 Thread D. Yeatman
Dod, Working from your idea I ended up creating a Capture flag and testing it in the OnDataAvailable routine to control when to capture data to the temp buffer which I then parse. ... Somewhat crude but it works!! Thanks! Dod [EMAIL PROTECTED] wrote: = Hello, Personnaly I