Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 21 of 21
Search took 0.00 seconds.
Search: Posts Made By: Hang
Forum: Scripting 09-03-2019, 03:23 PM
Replies: 3
Views: 1,207
Posted By Hang
+1 for Python 3 request

I would also like to see SecureCRT support Python3.
Forum: Scripting 08-16-2019, 04:25 PM
Replies: 1
Views: 462
Posted By Hang
send email using secureCRT

Has secureCRT work smtplib.SMTP to get it work in python? I still see the "_socket" not supported error message.

A request was put in 2016 not sure if it was worked on.

What I like to do is to...
Forum: Scripting 08-16-2019, 03:59 PM
Replies: 1
Views: 376
Posted By Hang
displaying an image in a messagebox in securecRT

Hi,

Is there a way to display an image to the message box in secureCRT?

Thanks,
Forum: Scripting 07-26-2018, 04:33 PM
Replies: 3
Views: 1,718
Posted By Hang
Hi ekoranyi, That works, however, my code in...

Hi ekoranyi,

That works, however, my code in the "try body" is longer than the simple example I give.

I find that when I incorporate my code in your example code, I find that it depends on...
Forum: Scripting 07-24-2018, 02:49 PM
Replies: 3
Views: 1,718
Posted By Hang
Continuing/Reconnect a script after a network interruption

Hi,

Is there a way to reconnect a connection and continue with the script after a network interruption that causes a session to disconnect?

For example:

If I am running a script and I am...
Forum: Scripting 06-27-2018, 11:20 AM
Replies: 2
Views: 1,235
Posted By Hang
Thanks Brenda!! This is exactly what I was...

Thanks Brenda!! This is exactly what I was looking for. :)
Forum: Scripting 06-27-2018, 09:59 AM
Replies: 2
Views: 1,235
Posted By Hang
Procomm to SecureCRT

In procomm there are two ways to display text on the terminal. You can do it using transmit and termmsg.

transmit string [RAW]:Sends a character string to the active port. If local echo is on,...
Forum: Scripting 02-27-2018, 11:31 AM
Replies: 5
Views: 3,908
Posted By Hang
Hi Brenda, I didn't use the Log Session from...

Hi Brenda,

I didn't use the Log Session from the File menu. I was in Options>Session Option>Terminal>Log File and set the path there, once.



As you can see from my script I did not set a...
Forum: Scripting 02-26-2018, 04:32 PM
Replies: 5
Views: 3,908
Posted By Hang
I am running Version 8.1.4 (build 1443) on win7...

I am running Version 8.1.4 (build 1443) on win7 x64.

Yes, I am setting the log location via script.
TestLog = currentTab.Session.LogFileName = "Test123.log"
currentTab.Screen.Synchronous =...
Forum: Scripting 02-26-2018, 01:55 PM
Replies: 5
Views: 3,908
Posted By Hang
Unable to log session

Hi I keep getting this error message when I run my script. I can write to folder that this file is save to, I have full write and read access, I only have one session open.
...
Forum: Scripting 02-13-2018, 11:39 AM
Replies: 1
Views: 2,078
Posted By Hang
Post scripting hanging at if waitforstring statement

I was wondering if you guys have a suggestion for a better way of cycling through password.

My current script always hang at the if statement.

Here is my code:

prompt = "A:"
currentTab =...
Forum: Scripting 02-07-2018, 12:39 PM
Replies: 5
Views: 1,902
Posted By Hang
Thanks Brenda, That works! So does it apply...

Thanks Brenda,

That works! So does it apply to "\n" as well? I need a waitfor after every "\n"?
Forum: Scripting 02-06-2018, 02:14 PM
Replies: 5
Views: 1,902
Posted By Hang
I am using 8.1.4 (32 bit version) on Win7 Pro 64...

I am using 8.1.4 (32 bit version) on Win7 Pro 64 bit
Forum: Scripting 02-06-2018, 01:32 PM
Replies: 5
Views: 1,902
Posted By Hang
Post Logging output

Hi,

I am having problem capturing the last command when logging a session. I just want to understand why it is not working the way it supposed to.

If I run the following code:


def...
Forum: General 12-12-2017, 12:44 PM
Replies: 1
Views: 1,717
Posted By Hang
SecureCRT to support Python 3.0?

Hi,

Will SecureCRT eventually move to Python 3.0? If yes, do you guys have a time line when that will happen?

Thanks,
Forum: Scripting 11-10-2017, 04:10 PM
Replies: 3
Views: 2,999
Posted By Hang
Hi Eric, Thanks for the suggestion. I...

Hi Eric,

Thanks for the suggestion.

I forgot to mention I am using Python to do most of my scripting.

Does the argument method works in Python?

I would like to ask the user in the...
Forum: Scripting 11-10-2017, 03:16 PM
Replies: 3
Views: 2,999
Posted By Hang
user input

Is there a way in SecureCRT where I can ask the user for inputs and store that inputs in a variable for use later in a script? I want to do this without a message box popping up.

For ex:
...
Forum: Scripting 11-10-2017, 09:34 AM
Replies: 1
Views: 2,614
Posted By Hang
use ReadString to match a regular expression

Hi,

I like a script to match a regular expression to make it more universal but when I try it out, it doesn't work. I get an error saying ReadString need to match with a string.

I know the...
Forum: Scripting 07-22-2016, 08:35 AM
Replies: 5
Views: 3,982
Posted By Hang
Hi Brenda, Everytime I try running this code...

Hi Brenda,

Everytime I try running this code with Python 2.7.x it crashes SecureCRT.

This is the code:
import smtplib
import getpass

def main():
Forum: Scripting 07-21-2016, 04:31 PM
Replies: 5
Views: 3,982
Posted By Hang
Thanks Brenda, I will be able to use smtplib...

Thanks Brenda,

I will be able to use smtplib and getpass and others library in SecureCRT if I switch over to 2.7.x?

Cheers,
Forum: Scripting 07-21-2016, 12:47 PM
Replies: 5
Views: 3,982
Posted By Hang
smtplib for Python 3.x

Hi,

I was just wondering if the VanDyke is compatible the smtplib library in 3.x? Or is it still only compatible with 2.6.x.

Thanks,
Showing results 1 to 21 of 21

 
Forum Jump

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