Forum: Scripting
01-19-2016, 11:24 AM
|
Replies: 17
Views: 16,490
That's actually exactly what I tried out before...
That's actually exactly what I tried out before asking about a more detailed explanation.
The reason I asked for the detailed explanation is because I tried what you suggested above, but it didn't...
|
Forum: Scripting
01-18-2016, 04:06 AM
|
Replies: 17
Views: 16,490
|
Forum: Scripting
01-15-2016, 06:28 AM
|
Replies: 17
Views: 16,490
Hi,
I tried putting the raw log in...
Hi,
I tried putting the raw log in Notepad++.
I can then see that there's 3 line breaks between the send command and the data received from the remote device.
So it looks like this:
...
|
Forum: Scripting
01-14-2016, 08:21 AM
|
Replies: 17
Views: 16,490
-----
I added this in the script:
...
-----
I added this in the script:
crt.Dialog.MessageBox _
"This was returned by the remote deivce:" & strResults
The message returned in SecureCRT when I run the script is this.
|
Forum: Scripting
01-14-2016, 08:13 AM
|
Replies: 17
Views: 16,490
I'm using the excat code presented in post #5...
I'm using the excat code presented in post #5 (https://forums.vandyke.com/showpost.php?p=44353&postcount=5).
I've looked through the code and there's only one place where 're.Pattern = ' is present....
|
Forum: Scripting
01-13-2016, 12:02 PM
|
Replies: 17
Views: 16,490
|
Forum: Scripting
07-28-2015, 02:53 AM
|
Replies: 17
Views: 16,490
Hi,
I tried the script you posted and it...
Hi,
I tried the script you posted and it works perfect when strResult is hardcoded.
However I have a problem using the script when strResult isn't hardcoded.
This is the script I'm running...
|
Forum: Scripting
07-24-2015, 09:54 AM
|
Replies: 17
Views: 16,490
Hi Todd,
I have started working on a script...
Hi Todd,
I have started working on a script now based on something that I found here (https://forums.vandyke.com/showthread.php?t=10239).
My script looks like this:
#$language = "VBScript"...
|
Forum: Scripting
07-23-2015, 09:48 AM
|
Replies: 13
Views: 12,186
Hi Brenda,
It fixed itself after I...
Hi Brenda,
It fixed itself after I implemented the strText = crt.Clipboard.Text and run the script by assigning a key in the keymap editor.
I don't know why it works now, but I'm satisfied...
|
Forum: Scripting
07-15-2015, 02:23 AM
|
Replies: 17
Views: 16,490
Wait for string then copy string
Hi,
I wonder what's the easiest way of creating a script that does the following:
1. Script runs a command that I specify in the script.
2. Host returns a string that looks like this:...
|
Forum: Scripting
07-15-2015, 02:11 AM
|
Replies: 13
Views: 12,186
Hi Brenda,
There is no problem putting...
Hi Brenda,
There is no problem putting focus on the desired tab before running the script, but when I change the focus to a different tab the script will start running in that tab.
I want the...
|
Forum: Scripting
07-13-2015, 05:10 AM
|
Replies: 13
Views: 12,186
|
Forum: Scripting
06-15-2015, 06:50 AM
|
Replies: 13
Views: 12,186
I telnet to a host.
Then I copy the interface...
I telnet to a host.
Then I copy the interface name of the interface I want to check to the clipboard.
I then launch the script from the top menu, Script -> Run...
The script then runs until I...
|
Forum: Scripting
06-12-2015, 02:21 AM
|
Replies: 13
Views: 12,186
Hi again Brenda,
I have noticed two problems...
Hi again Brenda,
I have noticed two problems with the script:
1. When I have multiple tabs open in SecureCRT the script will run in the tab I'm currently viewing disregarding which tab I first...
|
Forum: Scripting
06-10-2015, 09:28 AM
|
Replies: 13
Views: 12,186
|
Forum: Scripting
06-09-2015, 04:19 AM
|
Replies: 13
Views: 12,186
|
Forum: Scripting
06-08-2015, 09:46 AM
|
Replies: 13
Views: 12,186
Loop/Repeat command
Hi,
I want to make a script that repeats a command until I manually stop it.
Example:
Script runs the command sh int Gi0/1 desc with x seconds interval in between each time the command is...
|
Forum: Scripting
05-06-2015, 04:34 AM
|
Replies: 10
Views: 10,119
Hi Todd,
I tried your suggestion today and...
Hi Todd,
I tried your suggestion today and it worked like a charm :)
I am really happy that you went into such a detailed explanation. That's really helpful since I'm new at working with vbs...
|
Forum: Scripting
04-27-2015, 04:18 AM
|
Replies: 10
Views: 10,119
|
Forum: Scripting
04-15-2015, 02:20 AM
|
Replies: 10
Views: 10,119
|
Forum: Scripting
04-15-2015, 01:59 AM
|
Replies: 10
Views: 10,119
Hi Todd,
That's funny because that's exactly...
Hi Todd,
That's funny because that's exactly what I tried after your first post, but I received an error message so I figured that I did something wrong.
I tried again now and I'm still receiving...
|
Forum: Scripting
04-14-2015, 08:08 AM
|
Replies: 10
Views: 10,119
|
Forum: Scripting
04-13-2015, 06:43 AM
|
Replies: 10
Views: 10,119
|
Forum: Scripting
10-06-2014, 11:18 AM
|
Replies: 9
Views: 4,157
Hi, Brenda.
Thanks so much for the help! ...
Hi, Brenda.
Thanks so much for the help!
Now the script does exactly what I want.
I really like that you, VanDyke employees, take your time and help your customers the way you do.
I truly...
|
Forum: Scripting
10-03-2014, 01:42 AM
|
Replies: 9
Views: 4,157
Hi.
I haven't made the biggest changes, but...
Hi.
I haven't made the biggest changes, but I have posted the script below:
#$language = "VBScript"
#$interface = "1.0"
' LogOutputOfSpecificCommand-UseReadString.vbs
' Example that...
|