View Single Post
  #2  
Old 05-07-2019, 03:25 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,635
Hi tunes4life,

What version of SecureCRT are you running? On what platform?

How do you run the script?

Please list the explicit steps involved.

Quote:
This has worked for the most part.
Elaborate on worked for the most part because this does not really seem like proper syntax to me. :)

In particular, I'm thinking you want to use WaitForStrings() (plural) instead of this line:

crt.Screen.WaitForString("sername:" or "login:")

I think with the syntax you have used the script would only be waiting for that first literal (sername:).

Is this a complete script? (Other than masking credentials, which is fine.) Or have you just posted part of it?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote