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

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

How do you run the script?

Please list the explicit steps involved.

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?

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote