Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 25 of 34
Search took 0.00 seconds.
Search: Posts Made By: e2script
Forum: Scripting 01-19-2016, 10:24 AM
Replies: 17
Views: 15,020
Posted By e2script
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, 03:06 AM
Replies: 17
Views: 15,020
Posted By e2script
Can you explain more in detail how I go about...

Can you explain more in detail how I go about fixing this?
I'm not experienced with visual basic scripting or scripting in general.
Forum: Scripting 01-15-2016, 05:28 AM
Replies: 17
Views: 15,020
Posted By e2script
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, 07:21 AM
Replies: 17
Views: 15,020
Posted By e2script
----- 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, 07:13 AM
Replies: 17
Views: 15,020
Posted By e2script
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, 11:02 AM
Replies: 17
Views: 15,020
Posted By e2script
I've put this thing on hold for a while, but now...

I've put this thing on hold for a while, but now I'm ready to go back at it.

I've tried running the script again and this is the output from the terminal:


The script just says "Pattern...
Forum: Scripting 07-28-2015, 01:53 AM
Replies: 17
Views: 15,020
Posted By e2script
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, 08:54 AM
Replies: 17
Views: 15,020
Posted By e2script
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, 08:48 AM
Replies: 13
Views: 10,737
Posted By e2script
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, 01:23 AM
Replies: 17
Views: 15,020
Posted By e2script
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, 01:11 AM
Replies: 13
Views: 10,737
Posted By e2script
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, 04:10 AM
Replies: 13
Views: 10,737
Posted By e2script
Hi, I implemented your last example in my...

Hi,

I implemented your last example in my script and it works perfectly.

Is there any way to only run the script in the tab it was launched in?

Best regards,
e2script
Forum: Scripting 06-15-2015, 05:50 AM
Replies: 13
Views: 10,737
Posted By e2script
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, 01:21 AM
Replies: 13
Views: 10,737
Posted By e2script
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, 08:28 AM
Replies: 13
Views: 10,737
Posted By e2script
Hi Brenda, Works like a charm. Thanks a...

Hi Brenda,

Works like a charm.
Thanks a lot.

Best regards,
e2script
Forum: Scripting 06-09-2015, 03:19 AM
Replies: 13
Views: 10,737
Posted By e2script
Hi Brenda, Sorry for not clearing this up...

Hi Brenda,

Sorry for not clearing this up before posting.
I'm using SecureCRT v6.6.3 on Windows 7.
I would like to create the script using VBS.

Best regards,
e2script
Forum: Scripting 06-08-2015, 08:46 AM
Replies: 13
Views: 10,737
Posted By e2script
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, 03:34 AM
Replies: 10
Views: 8,419
Posted By e2script
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, 03:18 AM
Replies: 10
Views: 8,419
Posted By e2script
I have now encountered a new problem similar to...

I have now encountered a new problem similar to the one we have fixed earlier in this thread.
I'm guessing that this new problem also can be solved using the replace method.

What I want the new...
Forum: Scripting 04-15-2015, 01:20 AM
Replies: 10
Views: 8,419
Posted By e2script
I Googled and I found the answer. Here's what I...

I Googled and I found the answer.
Here's what I ended up with:

strSelection = Replace(strSelection, ":", "")
strSelection = Replace(strSelection, ".", "")


So I'm guessing why it failed...
Forum: Scripting 04-15-2015, 12:59 AM
Replies: 10
Views: 8,419
Posted By e2script
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, 07:08 AM
Replies: 10
Views: 8,419
Posted By e2script
I think I get the idea of what you're saying, but...

I think I get the idea of what you're saying, but I don't know how to do it in the script.

Script looks like this:

# $language = "VBScript"
# $interface = "1.0"

Sub Main()
...
Forum: Scripting 04-13-2015, 05:43 AM
Replies: 10
Views: 8,419
Posted By e2script
Changing selected text before searching

Hi,

Sorry for the badly worded title.

I am running the script described in 4.1 (Performing a Web Search with Selected Text) in this .pdf:...
Forum: Scripting 10-06-2014, 10:18 AM
Replies: 9
Views: 3,595
Posted By e2script
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, 12:42 AM
Replies: 9
Views: 3,595
Posted By e2script
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...
Showing results 1 to 25 of 34

 
Forum Jump

All times are GMT -6. The time now is 05:39 AM.