Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 21 of 21
Search took 0.00 seconds.
Search: Posts Made By: DonWilson
Forum: Scripting 11-11-2014, 04:50 PM
Replies: 11
Views: 5,703
Posted By DonWilson
Todd, That makes some sense to me. But it...

Todd,

That makes some sense to me. But it does prompt a question:

If multiple "sends" can get you out of sync, would the command "crt.Screen.Synchronous = True" put in where the screen...
Forum: Scripting 11-11-2014, 04:39 PM
Replies: 2
Views: 3,686
Posted By DonWilson
Found it.... crt.Sleep 5000 Thanks,...

Found it....

crt.Sleep 5000

Thanks, Todd!
Forum: Scripting 11-11-2014, 03:22 PM
Replies: 2
Views: 3,686
Posted By DonWilson
WScript.Sleep 5000

I believe I'm in need of a "pause" in my code as it appears that its stepping over itself to quick. However "WScript.Sleep 5000" (a 5 second pause) doesn't work as I'm getting a "Error: Object...
Forum: Scripting 11-07-2014, 05:52 PM
Replies: 11
Views: 5,703
Posted By DonWilson
Todd, Here's the code I've written. The...

Todd,

Here's the code I've written. The last line is where it freezes. I can't seem to get past it:

crt.Screen.Synchronous = True
crt.Screen.Send "ssh itt@h3043" & chr(13)
crt.Screen.Send...
Forum: Scripting 11-07-2014, 04:03 PM
Replies: 11
Views: 5,703
Posted By DonWilson
FYI... I tried looking for "paging enable" in the...

FYI... I tried looking for "paging enable" in the manual..... I couldn't find those words (or paging or page). I'll need some help!

Thanks,

Don
Forum: Scripting 11-07-2014, 03:25 PM
Replies: 11
Views: 5,703
Posted By DonWilson
Todd, I do need to add that in testing, I'm...

Todd, I do need to add that in testing, I'm having an issue with the data painting the screen (meaning the first full page comes up) for me to "Enter" to return the second page, etc. Here's what I'm...
Forum: Scripting 11-07-2014, 02:48 PM
Replies: 11
Views: 5,703
Posted By DonWilson
Todd, You've thrown a new term at me:...

Todd,

You've thrown a new term at me: "paging enabled". I wasn't aware that something like that existed. I'll see if I can't find that in the manual. I like the idea of it going through the...
Forum: Scripting 11-06-2014, 05:18 PM
Replies: 11
Views: 5,703
Posted By DonWilson
Using .ReadString

Todd, it's not clear to me as to how to define the string. By this I mean that I want every piece of information on the screen. Once that data is captured in the string, I'm writing that to a text...
Forum: Scripting 11-05-2014, 04:05 PM
Replies: 11
Views: 5,703
Posted By DonWilson
Using .ReadString

I now want to "grab" the text that is "printed" to the screen. Reading through the Help files it appears that I want use the .ReadString command to pull that information into a variable. My...
Forum: Scripting 10-24-2014, 01:45 PM
Replies: 13
Views: 7,014
Posted By DonWilson
Brenda, The overall goal is to import some...

Brenda,

The overall goal is to import some data at a given time - more specifically, after normal working hours. I want to be able to set SecureCRT to log on, run some specific duties and then...
Forum: Scripting 10-24-2014, 01:37 PM
Replies: 13
Views: 7,014
Posted By DonWilson
I figured it out..... I had to put some message...

I figured it out..... I had to put some message boxes in to do it (to see some results), but I've got the code to work. Now on to the next issue. However here is the final code:

Dim i
Dim...
Forum: Scripting 10-24-2014, 01:06 PM
Replies: 13
Views: 7,014
Posted By DonWilson
FYI.... I've tried it both ways, with my system...

FYI.... I've tried it both ways, with my system time (EDT) and West coast time and the program still hasn't run. I'm not getting any error messages, but it's not starting the routine at the...
Forum: Scripting 10-24-2014, 12:48 PM
Replies: 13
Views: 7,014
Posted By DonWilson
Brenda, I'll change that and give it a try. ...

Brenda, I'll change that and give it a try.

Another question:

The server that SecureCRT is linked to is on the West coast. As my code is reading the "Now()", is it reading the system time on...
Forum: Scripting 10-24-2014, 09:35 AM
Replies: 13
Views: 7,014
Posted By DonWilson
One last question and then I think I can post my...

One last question and then I think I can post my findings:

How do you call another sub-routine in vbScript? Is it just like VBA or VB.net (i.e. - Call SubName)?

Thanks again,

Don
Forum: Scripting 10-23-2014, 12:58 PM
Replies: 13
Views: 7,014
Posted By DonWilson
Brenda, Thanks for the help. I hate it that...

Brenda,

Thanks for the help. I hate it that I'm not "friendly" with vbScript. :confused: I will peruse the manual and check out the examples to further understand.

Again I'll say, your...
Forum: Scripting 10-22-2014, 06:04 PM
Replies: 13
Views: 7,014
Posted By DonWilson
Brenda, Thanks for the help. But I need a...

Brenda,

Thanks for the help. But I need a little more.

I'm attempting to run the code you've suggested. While I understand a "Function", I am trying to determine the meaning of (N) in the...
Forum: Scripting 10-22-2014, 10:38 AM
Replies: 13
Views: 7,014
Posted By DonWilson
Adding a clock/Time

I'm wanting to add a clock/timer to my script. In VB.net I'd write it this way:

Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick

If...
Forum: Scripting 10-15-2014, 06:08 AM
Replies: 6
Views: 3,578
Posted By DonWilson
Excellent Code!

Todd,

You are the man! Thank you. The code you sent worked perfectly! I did add the 'crt.Screen.Synchronous = True' at the top as you suggested. The only changes I made were to the prompt...
Forum: Scripting 10-14-2014, 08:20 PM
Replies: 6
Views: 3,578
Posted By DonWilson
Todd, I'll give your code a try (although I...

Todd,

I'll give your code a try (although I suspect it will work) and report back to you.

Regarding 'crt.Screen.Synchronous = True': The code I gave you came from the macro I recorded to do as...
Forum: Scripting 10-14-2014, 01:34 PM
Replies: 6
Views: 3,578
Posted By DonWilson
Todd, When I open SecureCRT and begin the...

Todd,

When I open SecureCRT and begin the connection process, I've recorded a script (macro) to handle a portion of logging into our server. It looks like this:

Sub Main
...
Forum: Scripting 10-14-2014, 09:58 AM
Replies: 6
Views: 3,578
Posted By DonWilson
Copy New Password and then paste it

Hello group,

I'm attempting to improve the login script. I'm somewhat familiar with VB.net (which I assume is at least similar to VBS). But reading through some of the posts, it's clear I'm not...
Showing results 1 to 21 of 21

 
Forum Jump

All times are GMT -6. The time now is 12:01 PM.