Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: samky2005
Forum: Scripting 10-22-2020, 11:55 AM
Replies: 6
Views: 381
Posted By samky2005
Hello Jake Sorry for the ambiguity. The...

Hello Jake

Sorry for the ambiguity.

The issue was when the serial(COM1) protocol was used, the created file was empty.
The device wasn't changed.
The script ended without any error and also...
Forum: Scripting 10-22-2020, 03:41 AM
Replies: 6
Views: 381
Posted By samky2005
SSH vs Serial

I happened to find the script didn't work for Serial connection. It works for SSH session. I tried to find the solution but not yet solved.

Appreciated any insight.

Thanks
samky2005
Forum: Scripting 10-20-2020, 01:32 PM
Replies: 6
Views: 381
Posted By samky2005
No. I couldn't find the post. Thank you for...

No. I couldn't find the post. Thank you for sharing.

And thank you very much for quick fix on my script. That met my expectation.

Thanks
Samky2005
Forum: Scripting 10-20-2020, 12:30 PM
Replies: 6
Views: 381
Posted By samky2005
save in the text file

Hello

I was able to use ReadString() to capture the output of "show running-config" command and save it into the file using objFile.WriteLine.
However the very first line in the text file...
Forum: Scripting 10-16-2020, 04:27 PM
Replies: 4
Views: 380
Posted By samky2005
Smile >I need to figure out how to expect only certain...

>I need to figure out how to expect only certain words in crt.Screen.WaitForString. The return prompt from devices will have the same string "abc" in it i.e. "[abc123]" "<abc_234>" "[abc_234]"...
Forum: Scripting 10-16-2020, 03:56 PM
Replies: 4
Views: 380
Posted By samky2005
Hello Jake Thanks for your prompt reply and...

Hello Jake

Thanks for your prompt reply and sorry for it wasn't clear.


What exactly is "unique" about the 'abc' in the example you provided?
Where is the "unique" data currently stored?
...
Forum: Scripting 10-16-2020, 02:54 PM
Replies: 4
Views: 380
Posted By samky2005
Question enter different strings

Hello

How can I write the script to enter manually some device specific string?
The below example, abc is value.

crt.Screen.Send "hostname abc" & chr(13)

There are many devices, and...
Forum: General 04-19-2017, 07:43 PM
Replies: 3
Views: 5,798
Posted By samky2005
Smile Thank you! The secret source was to disconnect...

Thank you!
The secret source was to disconnect it and reconnect.

Sam
Forum: General 04-19-2017, 05:48 PM
Replies: 3
Views: 5,798
Posted By samky2005
VI color

Hello

There were some discussion around getting color in VI just like Putty gives.
My SecureCRT doesn't get colors when I edit the file using VI.
I tried to change to ANSI, or Linux or Xterm...
Forum: Scripting 03-03-2010, 10:03 AM
Replies: 5
Views: 4,477
Posted By samky2005
Thank you for the advice. I will read the...

Thank you for the advice.
I will read the manual and go from there. But it sounds too much just for this.=

samky2005
Forum: Scripting 03-01-2010, 12:00 AM
Replies: 5
Views: 4,477
Posted By samky2005
>What time interval do you want to use when...

>What time interval do you want to use when sending the string while in the infinite loop (every 1 second, 10 seconds, etc.)?

2 seconds.
I used crt.Sleep 2000

> Are you wanting the message box...
Forum: Scripting 02-26-2010, 06:34 PM
Replies: 5
Views: 4,477
Posted By samky2005
start/pause/stop using the message box

Hi Expert

It's happy Friday so probably not many people are on this site.
But I need your idea or hints to make the script.

I need a script to send a string using crt.Screen.send in a loop....
Showing results 1 to 12 of 12

 
Forum Jump

All times are GMT -6. The time now is 02:27 PM.