Re: Timeout Option - WeOnlyDo Discussion board

Re: Timeout Option (General questions)

by bmclellan, Tuesday, August 28, 2007, 13:04 (6297 days ago) @ wodDamir

Thanks, this is looking more promising. I am using a VBScripting type environment (winbatch) so I cannot wait for events so I will be setting Blocking to true.

In my old code I execute the following:
Loop
Get from the receive buffer (timeout after 2 seconds)
Append receive buffer onto a 'global string'
If I see the words 'Next Page' send an F7 and loop back to the top
If I see the words 'Invalid command' send F1 and leave route
If I see the words 'Not supported' send F1 and leave route
If I see the words 'Command:' leave route

Display some stuff on screen
return to top


Can you give me a sample on how this might look?

Thanks!
Barry


Complete thread: