Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: bgagnon
Forum: Scripting 03-12-2013, 04:34 PM
Replies: 18
Views: 8,603
Posted By bgagnon
Hi CM, You are quite welcome! :)

Hi CM,

You are quite welcome! :)
Forum: Scripting 03-12-2013, 03:00 PM
Replies: 18
Views: 8,603
Posted By bgagnon
Hi CM, Great! The difference is in what...

Hi CM,

Great!

The difference is in what the remote echoes back to SecureCRT.

Line endings (ENTER) differ based on OS. Windows uses CRLF, Mac/Linux/Unix uses LF.

So by only "handling" CR...
Forum: Scripting 03-12-2013, 12:13 PM
Replies: 18
Views: 8,603
Posted By bgagnon
Hi CM, Sorry, bear with me a moment while I...

Hi CM,

Sorry, bear with me a moment while I adjust my dunce cap. :o

In your original script, change the WaitForString to vbcrlf, what are the results?
Forum: Scripting 03-12-2013, 11:48 AM
Replies: 18
Views: 8,603
Posted By bgagnon
Hi CM, Yes, pretty much. This example script...

Hi CM,

Yes, pretty much. This example script is intended to see what is going on with your code.

Alter it (the RevealNonPrintingCharacters example script) as shown below:

Sub Main()
...
Forum: Scripting 03-12-2013, 11:05 AM
Replies: 18
Views: 8,603
Posted By bgagnon
Hi CM, I'm a bit confused. So you are...

Hi CM,

I'm a bit confused.

So you are making an ad hoc connection (via Quick Connect), not using a saved session, correct?

Still, there is a line return being included (before hostname) in...
Forum: Scripting 03-12-2013, 10:02 AM
Replies: 18
Views: 8,603
Posted By bgagnon
Hi CM, That may explain it. If you...

Hi CM,

That may explain it.

If you enable Force character at a time mode in the Connection / Telnet category of SecureCRT's Session Options, what are the results?
Forum: Scripting 03-12-2013, 09:05 AM
Replies: 18
Views: 8,603
Posted By bgagnon
Hi CM, What protocol are you using to...

Hi CM,

What protocol are you using to connect?

The "CR" is still being included in what is being sent for some reason.

You will plainly see this if you change the "send" line to a message...
Forum: Scripting 03-12-2013, 08:03 AM
Replies: 18
Views: 8,603
Posted By bgagnon
Hi chrismic1995, Sorry, I left out an entire...

Hi chrismic1995,

Sorry, I left out an entire line of code when posting my response yesterday.

The problem is the "ENTER" you are sending to "kick off" the script is being captured as part of...
Forum: Scripting 03-11-2013, 05:01 PM
Replies: 18
Views: 8,603
Posted By bgagnon
Hello chrismic1995, If you have to manually...

Hello chrismic1995,

If you have to manually hit "ENTER" to kick things off, then the script is out of sync from the beginning. :)

It makes sense because the first item you are waiting for (in...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT -6. The time now is 06:31 PM.