![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
volkmaniac
Newbie
Joined: June 12 2008 Location: United States Status: Offline Points: 21 |
Post Options
Thanks(0)
Quote Reply
Topic: WAITFOR FOREVER?Posted: June 13 2008 at 8:31am |
|
I've been having problems with waitfor timing out.
This was timing out
.WaitFor 0, 0, "> "
This didn't time out but the remainder of the script didn't execute.
.WaitFor 0, 10000, "> "
In ProComm aspect they offer a waitfor forever option. How can I ensure the session will stay alive and continue with execution?
|
|
|
Jim Volkman
jamesvolkman@yahoo.com |
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
Posted: June 16 2008 at 11:07am |
|
Hi Jim -
If the 2nd case in your example did not get past the WaitFor, then the script did not see the text you are looking for, hence the remainder of the script would not execute. Be sure you set the InputMode property of the session to 1 before using WaitFor in a script. You need to set it before whatever triggers the host to send the text. Before the script exits, be sure to set .InputMode back to zero. Thanks, Pete |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |