Re: Automating a script - WeOnlyDo Discussion board

Re: Automating a script (General questions)

by Shawn, Tuesday, October 23, 2007, 18:29 (6039 days ago) @ woddrazen

Hi Shawn,


What happened if you just put:
--------------------------------
Ssh.WaitFor ( regex:[\$ #>] $ )
--------------------------------

before Send Method line in your code.

Maybe this will quickly fix your problem.

Let us know how it goes.


Regards,
Drazen

I tried to suggestion but it did not resolve the issue. I did find a workaround by creating a timer and having it fire off the rest of my code after a 5 second delay. This seems to give the control enough time to flush the buffer. Now I will see how short of a delay I need can get away with.

Thank you for your help.

Shawn


Complete thread: