Re: Automating a script (General questions)
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:
- Automating a script - Shawn, 2007-10-23, 03:30
- Re: Automating a script - woddrazen, 2007-10-23, 07:43
- Re: Automating a script - Shawn, 2007-10-23, 18:29
- Re: Automating a script - wodDamir, 2007-10-23, 18:48
- Re: Automating a script - Shawn, 2007-10-23, 18:29
- Re: Automating a script - woddrazen, 2007-10-23, 07:43