Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 25 of 41
Search took 0.00 seconds.
Search: Posts Made By: bstedh
Forum: Scripting 02-12-2019, 03:25 PM
Replies: 6
Views: 1,150
Posted By bstedh
No, re-writing existing script to make things...

No, re-writing existing script to make things quicker and more reliable.... The use of more than 2 to 3 tabs at a time is the only real structural difference. I went this route to store passwords in...
Forum: Scripting 02-11-2019, 03:23 PM
Replies: 6
Views: 1,150
Posted By bstedh
Each site will have at a minimum a cisco router....

Each site will have at a minimum a cisco router. So my script logs into that and then scans its ports to determine what other equipment is on site. It will then open tabs for those pieces of...
Forum: Scripting 02-11-2019, 03:09 PM
Replies: 6
Views: 1,150
Posted By bstedh
Have to bounce between multiple devices to check...

Have to bounce between multiple devices to check alarms and connections so I wanted to have the tabs open until the user switches to another site. That way it doesn't have to log into the devices...
Forum: Scripting 02-11-2019, 02:51 PM
Replies: 6
Views: 1,150
Posted By bstedh
I will give the maintenance upgrade a try....

I will give the maintenance upgrade a try. However getting everyone else to do it would be an issue. We gets what IT puts on the putters... No more no less... and have little to no input on what they...
Forum: Scripting 02-11-2019, 01:11 PM
Replies: 6
Views: 1,150
Posted By bstedh
Track and Close multiple tabs

I have a script that will open and work with multiple tabs. I tried closing all of them if a close option is used but it crashes secureCRT 75% of the time.

Is there a better way to check if a tab...
Forum: Scripting 01-18-2019, 03:05 PM
Replies: 3
Views: 1,164
Posted By bstedh
Thanks, didn't even think to try that as an CRT...

Thanks, didn't even think to try that as an CRT object. I kept trying it as a file system object and could only get the path and not the file name.
Forum: Scripting 01-18-2019, 02:01 PM
Replies: 3
Views: 1,164
Posted By bstedh
I want to parse the script for a line with a...

I want to parse the script for a line with a comment like 'script pointer 1

Then Replace the line following it with a new one.
Forum: Scripting 01-18-2019, 01:55 PM
Replies: 3
Views: 1,164
Posted By bstedh
Script name and path

Is there a property to pull the running VBscript's path and file name? I need to be able to make an on the fly edit to a portion of the script for the next time it is run and don't wan't to have to...
Forum: Scripting 01-18-2019, 12:33 PM
Replies: 0
Views: 770
Posted By bstedh
Example using HTML web page for input

Sub HTMLtest
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("WScript.Shell")
On Error Resume Next
Set objExplorer = CreateObject _
...
Forum: Scripting 08-14-2018, 12:43 PM
Replies: 5
Views: 3,226
Posted By bstedh
Remove all the excess spaces and then split by...

Remove all the excess spaces and then split by space to put each item in an array.

Start by reading the line into a variable.
input = crt.Screen.Readstring (vbCr)

Remove excess spaces

Do...
Forum: Scripting 08-14-2018, 10:36 AM
Replies: 1
Views: 1,814
Posted By bstedh
.ConnectInTab Time out

I have a script that logs into routers from a list. I need to have a time out for connection failures. How do I change the time out or test for it?

Here is the connection portion of the script....
Forum: Scripting 05-02-2018, 08:34 AM
Replies: 3
Views: 4,341
Posted By bstedh
I just add a custom menu button for script run...

I just add a custom menu button for script run and cancel and you can tell by which one is highlighted.
Forum: Scripting 05-01-2018, 02:24 PM
Replies: 2
Views: 2,721
Posted By bstedh
I think one of the big issue you may be having is...

I think one of the big issue you may be having is you are sending your output to the router in one big burst. You should separate your commands and wait for router prompts before sending the next...
Forum: Scripting 02-15-2018, 02:49 PM
Replies: 4
Views: 2,020
Posted By bstedh
One thing I have used for creating a device...

One thing I have used for creating a device config script is to have the script create and excel file with fields for items that change between each device that the user can fill in. Once the fields...
Forum: Scripting 02-01-2018, 01:08 PM
Replies: 5
Views: 3,223
Posted By bstedh
objShell.Popup(strText,[nSecondsToWait],[strTitle]...

objShell.Popup(strText,[nSecondsToWait],[strTitle],[nType])
Forum: Scripting 02-01-2018, 11:54 AM
Replies: 2
Views: 1,523
Posted By bstedh
I found a partial fix. I moved the set...

I found a partial fix. I moved the set application and set workbook up to the top of the script to make it global so the workbook stays active throughout the script. However, I still need the test in...
Forum: Scripting 02-01-2018, 10:57 AM
Replies: 2
Views: 1,523
Posted By bstedh
Excel Workbook already open test

I am putting some of my function output into excel. I have that working quite well but need a test to see if the workbook is already open as I am using the same workbook every time because this is...
Forum: Scripting 01-26-2018, 04:32 PM
Replies: 7
Views: 2,455
Posted By bstedh
Unfortunately we have to go through IT for any...

Unfortunately we have to go through IT for any software upgrades. Not going any where near that mess. They are very strict with licensed software and approved versions, unlike other companies I have...
Forum: Scripting 01-26-2018, 03:42 PM
Replies: 7
Views: 2,455
Posted By bstedh
I don't think that is an option in V6.7.3 I get...

I don't think that is an option in V6.7.3 I get an error that that firewall was not found in the database.
Forum: Scripting 01-26-2018, 03:31 PM
Replies: 7
Views: 2,455
Posted By bstedh
I will give it a try.

I will give it a try.
Forum: Scripting 01-26-2018, 03:01 PM
Replies: 7
Views: 2,455
Posted By bstedh
Ok I got the creation of new sessions down and it...

Ok I got the creation of new sessions down and it was much easier than I though even though I don't have V7.

Set cfg = crt.OpenSessionConfiguration("Default")
cfg.Save "TestME"
Set cfg =...
Forum: Scripting 01-26-2018, 01:32 PM
Replies: 7
Views: 2,455
Posted By bstedh
Automation of Sesion creation

Is it possible to create a new saved session from within a script?
Also Create a firewall?
These two things would allow me to automate the entire setup for other users of my script.
The Firewalls...
Forum: Scripting 01-26-2018, 12:54 PM
Replies: 4
Views: 2,113
Posted By bstedh
Not sure what is up, I applied crowbar logic and...

Not sure what is up, I applied crowbar logic and doubled up and now it is working.

objTab.screen.Send vbCr
objTab.screen.WaitForString "#"
objTab.screen.Send "sh int desc" & vbCr
Status =...
Forum: Scripting 01-26-2018, 12:47 PM
Replies: 4
Views: 2,113
Posted By bstedh
Well that didn't help. problem still persists. I...

Well that didn't help. problem still persists. I quit using the function and just tried reading the output directly inline and am still having the same issue with it not capturing the output more...
Forum: Scripting 01-26-2018, 12:23 PM
Replies: 4
Views: 2,113
Posted By bstedh
Nevermind, i'm an idiot. I have my script on a...

Nevermind, i'm an idiot. I have my script on a quick button and forgot to change it to the most recent version of my script so every time i made a change I was still running the older version...
...
Showing results 1 to 25 of 41

 
Forum Jump

All times are GMT -6. The time now is 09:43 PM.