Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 17 of 17
Search took 0.00 seconds.
Search: Posts Made By: dlong
Forum: Scripting 09-15-2020, 11:15 AM
Replies: 12
Views: 11,249
Posted By dlong
Thanks, Jake, that helped a lot. Now the program...

Thanks, Jake, that helped a lot. Now the program starts and the session is started as well, but because I use a login script for the session properties, I am getting an error message saying only one...
Forum: Scripting 09-15-2020, 09:50 AM
Replies: 12
Views: 11,249
Posted By dlong
Would anyone please point me in the right...

Would anyone please point me in the right direction on syntax? I am trying both the shell.Run and Process.Start routines to effect a session, but my VB.NET error says 'file not found'.

Dim shell...
Forum: Scripting 11-20-2019, 08:27 AM
Replies: 5
Views: 1,300
Posted By dlong
Thanks Brittney, the beta version works really...

Thanks Brittney, the beta version works really well in highlighting keyword regular expressions with spaces now.
Forum: Scripting 11-13-2019, 06:06 PM
Replies: 5
Views: 1,300
Posted By dlong
Hi Brittney. Thanks for the reply. When I try to...

Hi Brittney. Thanks for the reply. When I try to enter the regular expression above, the dialog comes up:

"The specified regular expression '\d{3}\s\d\s\d{2}\s\d{2}' is invalid. A regular...
Forum: Scripting 11-13-2019, 01:23 PM
Replies: 5
Views: 1,300
Posted By dlong
Keyword Highlight for Number Formats

Is there a way to add a keyword which will highlight a string based on this format?

nnn n nn nn

Basically, it is a 3-digit number followed by a space, then a 1-digit number followed by a space,...
Forum: Scripting 11-13-2019, 01:20 PM
Replies: 2
Views: 878
Posted By dlong
Perfect. Works like a charm. Thanks!

Perfect. Works like a charm. Thanks!
Forum: Scripting 11-12-2019, 10:36 AM
Replies: 2
Views: 878
Posted By dlong
Button Bar to Open Logfile?

Wondering how a button on the button bar can be configured to either open the current logfile in Notepad, or the File Explorer window of the current logfile, thereby showing all the logfiles for the...
Forum: Scripting 07-17-2018, 04:07 PM
Replies: 8
Views: 5,224
Posted By dlong
Thanks Brenda. That looks like a great...

Thanks Brenda.

That looks like a great possibility. Unfortunately, the serial port outputs a report every hour, and maybe 10 seconds after the hour. Ideally I would want the midnight report for...
Forum: Scripting 07-17-2018, 03:30 PM
Replies: 8
Views: 5,224
Posted By dlong
Daily Log File?

I would like to find a script which stops logging a minute after midnight, saves the day's capture to a file, and starts a new log file capture. The filename would incorporate a date/time stamp. How...
Forum: Scripting 05-21-2018, 03:21 PM
Replies: 2
Views: 1,991
Posted By dlong
I found a good lead which seems to work: Set...

I found a good lead which seems to work:

Set objShell = CreateObject("WScript.Shell")
objshell.Run "Notepad /p " & strFileName
objshell.close
Forum: Scripting 05-21-2018, 01:59 PM
Replies: 2
Views: 1,991
Posted By dlong
Hourly or Daily Serial Report to Printer?

I am wondering how SecureCRT can be scripted so that an hourly or daily report on a serial connection can be sent to a default printer automatically.

In the Scripting Essentials guide, there's a...
Forum: Scripting 03-23-2018, 11:09 AM
Replies: 4
Views: 2,042
Posted By dlong
Hi Brenda, I am using the...

Hi Brenda,

I am using the crt.Session.LogFileName property to specify a log location, and I try to reset the logfile location at the end, but all subsequent sessions use the "LD117" file...
Forum: Scripting 03-23-2018, 10:18 AM
Replies: 4
Views: 2,042
Posted By dlong
Script for Logfile Overwrites Session Properties

Wondering how to specify a logfile location within a VBS script, but to not have the default logfile location changed after running the script.
Forum: Scripting 03-10-2016, 10:47 AM
Replies: 2
Views: 2,260
Posted By dlong
I think I have the answer, which seems to work: ...

I think I have the answer, which seems to work:

Do
nIndex = crt.Screen.WaitForStrings("DTI000", " OVERLAY CONFLICT")
Select Case crt.Screen.MatchIndex
Case 1
' GOOD...
Forum: Scripting 03-10-2016, 09:24 AM
Replies: 2
Views: 2,260
Posted By dlong
WaitForString: 2 Possibilities?

I am looking for advice on how to branch between two possible WaitForString returns.

When I send this string:

crt.Screen.Send "****ld 60" & chr(13)

I am hoping to receive back this in the...
Forum: Secure Shell 12-09-2015, 01:11 PM
Replies: 3
Views: 2,945
Posted By dlong
Thanks Brenda. I'm almost there. But am...

Thanks Brenda.

I'm almost there. But am unclear how to include the password with the RLOGIN protocol . . . as it keeps erroring on the password string.

Dim WshShell, oExec
WshShell =...
Forum: Secure Shell 12-09-2015, 09:45 AM
Replies: 3
Views: 2,945
Posted By dlong
Shell from Visual Studio?

Not sure if this is the right place to ask, but can I launch (shellExecute?) sercureCRT from a Visual Studio application, have it connect to specific connection, log in, and run a script? I can do...
Showing results 1 to 17 of 17

 
Forum Jump

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