View Single Post
  #2  
Old 04-02-2008, 09:34 AM
miked's Avatar
miked miked is offline
Registered User
 
Join Date: Feb 2004
Posts: 2,039
I think that part of the problem may be that you're comparing result to a string. The result of WaitForString is True or False. Does the following code change work for you?
Code:
result = objCurrentTab.screen.WaitForString("Password:" , 5)

' result should be True or False, comment out this line: if result = "Password:" 
If result = True Then
__________________
Mike
VanDyke Software
Technical Support
[http://www.vandyke.com/support]
Reply With Quote