Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 25 of 35
Search took 0.00 seconds.
Search: Posts Made By: AndrewEK
Forum: Scripting 08-02-2019, 02:58 PM
Replies: 3
Views: 582
Posted By AndrewEK
Divide number bigger than a long

If I do integer divide on a number bigger than a long (32 bits), I get an overflow error. Is there a way to declare a number as a double? If not, how do you do arithmetic on a number bigger than a...
Forum: Scripting 02-06-2018, 05:43 PM
Replies: 1
Views: 1,371
Posted By AndrewEK
ButtonBarV*.ini file formats

We have users with different versions of SecureCRT, e.g. 6.7, 7.0, 8.0, etc. I provide a standard ButtonBar .ini file that provides common buttons for scripts for all users. Different SecureCRT...
Forum: Scripting 11-17-2016, 08:01 PM
Replies: 3
Views: 4,032
Posted By AndrewEK
Python script: ImportError - Error: No module named _socket

Running SecureCRT 7.0.2
Running python script fails at import line with:
Error: No module named _socket

I see a number of very old posts discussing this issue.
Was support for _socket module...
Forum: Scripting 11-11-2016, 03:03 PM
Replies: 2
Views: 2,290
Posted By AndrewEK
SecureCRT is running on Windows PC and connected...

SecureCRT is running on Windows PC and connected to a remote Linux machine via SSH or telnet, and uses VBasic scripts. You can't just crt.Screen.Send a "http://..." command to Linux as http / https...
Forum: Scripting 11-09-2016, 07:25 PM
Replies: 2
Views: 2,290
Posted By AndrewEK
Example of script with HTTP/HTTPS Query

I'm looking for an example of a script which does a HTTP / HTTPS type of query request to an IP address and captures the response. Anyone have such an example?
Forum: Scripting 04-14-2015, 12:11 PM
Replies: 1
Views: 1,586
Posted By AndrewEK
SSH Public Key Identity File Location

Under Global Options -> SSH2, the location of the Public key file is displayed.
Is there any environment variable that you can use in a script to get that location and/or determine whether the SSH...
Forum: Secure Shell 04-14-2015, 11:16 AM
Replies: 5
Views: 6,704
Posted By AndrewEK
I figured it out. I added this to the command...

I figured it out. I added this to the command line used to invoke SecureCRT:
/AUTH publickey,password,keyboard-interactive,gssapi)
and now when the SecureCRT window/tab opens, I'm logged in...
Forum: Secure Shell 04-14-2015, 10:46 AM
Replies: 5
Views: 6,704
Posted By AndrewEK
Jake: Sorry, but I was wrong. When I bring up...

Jake:
Sorry, but I was wrong. When I bring up Session Options for the default
session created via command line, it lets me change the authentication
sequence - e.g. move PublicKey to the top of...
Forum: Secure Shell 04-14-2015, 10:39 AM
Replies: 5
Views: 6,704
Posted By AndrewEK
Jake: Yes, that does make sense and does...

Jake:
Yes, that does make sense and does explain it. However, in my specific
application, we have network connection access software which allows
establishment of SSH connections to customer...
Forum: Secure Shell 04-13-2015, 06:10 PM
Replies: 5
Views: 6,704
Posted By AndrewEK
Need to 'Skip' Password prompt with SSH public keys installed

I've followed the setup for SSH public keys here:
https://www.vandyke.com/support/tips/publickeyauth.html
and it seems to work. However, when I then login to the remote
server (Linux) and...
Forum: Scripting 02-20-2013, 08:33 PM
Replies: 1
Views: 23,029
Posted By AndrewEK
How to "ReDim Preserve" a Multi-Dimensional Array?

The VBScript Essentials Guide shows an example of using the 'ReDim Preserve'
command to increase the size of a single dimensional array (page 90). When
I try to do the same with a two dimensional...
Forum: Scripting 02-15-2013, 01:09 PM
Replies: 3
Views: 3,533
Posted By AndrewEK
Not sure how to post an image, but the pop-up...

Not sure how to post an image, but the pop-up error just has the output error
shown above plus the script name and line number.
Forum: Scripting 02-15-2013, 10:41 AM
Replies: 3
Views: 3,533
Posted By AndrewEK
Custom IE Dialog - "Object Required" Error

I have a VB script that generates a custom IE dialog, similar to the example given in chapter 6.3 of the Scripting Essentials document:

Set g_objIE =...
Forum: Scripting 01-25-2013, 04:10 PM
Replies: 1
Views: 2,211
Posted By AndrewEK
Determining Windows Username?

Is it possible to determine the Windows username that is currently running a SecureCRT VisualBasic script?
Forum: Scripting 01-11-2013, 02:11 PM
Replies: 8
Views: 3,701
Posted By AndrewEK
The output from the Raw Log has: | No : 0...

The output from the Raw Log has:

| No : 0 | Code : 0x ff21030 | Lib : \033P\002!MMM]O~LLLoz\255lD\\ |

where:
\033 = Escape (Octal)
\002 = Start of Text (Octal)

This output sequence...
Forum: Scripting 01-11-2013, 01:04 PM
Replies: 8
Views: 3,701
Posted By AndrewEK
Todd: When I run the command with Raw Log...

Todd:
When I run the command with Raw Log Session enabled, it hangs here on the
screen:

| No : 0 | Code : 0x ff21030 | Lib :

Yet in the Raw Log file, I see the complete command output:
...
Forum: Scripting 01-11-2013, 12:09 PM
Replies: 8
Views: 3,701
Posted By AndrewEK
Yes, if you run command manually, it also hangs...

Yes, if you run command manually, it also hangs the window.

If the script is running, you can cancel the script, but the window remains hung.

So this is really not a script issue, since the...
Forum: Scripting 01-11-2013, 11:35 AM
Replies: 8
Views: 3,701
Posted By AndrewEK
SecureCRT ver. 6.7.0 Terminal emulation is...

SecureCRT ver. 6.7.0

Terminal emulation is set to VT220 (but it happens regardless of the terminal emulation type chosen).

When the command response hangs the window, the offending line does...
Forum: Scripting 01-10-2013, 09:57 PM
Replies: 8
Views: 3,701
Posted By AndrewEK
Command response hangs window

Doing a crt.Screen.Send() to send a command, followed by crt.Screen.ReadString() to capture response. Normally it works fine. However, occasionally the output response from the command contains a...
Forum: Scripting 10-25-2012, 04:40 PM
Replies: 3
Views: 2,879
Posted By AndrewEK
Our version supports the Dialog.FileOpenDialog()...

Our version supports the Dialog.FileOpenDialog() method, so I'll switch to use that. Thanks.
Forum: Scripting 08-30-2012, 05:03 PM
Replies: 3
Views: 2,879
Posted By AndrewEK
BrowseForFile() Error

I'm using the BrowseForFile() function shown in the scripting manual (page 102):
http://www.vandyke.com/support/tips/scripting/scripting_essentials.pdf

The script works fine on multiple PCs...
Forum: Scripting 05-07-2012, 05:28 PM
Replies: 3
Views: 9,707
Posted By AndrewEK
Windows XP Pro Service Pack 3 Internet Explorer...

Windows XP Pro Service Pack 3
Internet Explorer 6.0 (yes, I know it's old - it's all our IT dept supports) :(

When I right click the link in the pop-up, I can select 'Copy Shortcut', then paste...
Forum: Scripting 05-07-2012, 02:53 PM
Replies: 3
Views: 9,707
Posted By AndrewEK
Internet Explorer Object - Can't click URL

When I create an IE object with a URL link in the body, the IE window pops
up but the link is not click-able (i.e. when you click the link, it does nothing).
Sample code is below (similar to that...
Forum: Scripting 11-10-2011, 04:03 PM
Replies: 4
Views: 2,948
Posted By AndrewEK
I found what I needed under 'Sharing Script Code'...

I found what I needed under 'Sharing Script Code' on the example page at:
http://www.vandyke.com/support/securecrt/scripting_examples.html
The VB example does exactly what I need to do. Thanks.
Forum: Scripting 11-10-2011, 10:36 AM
Replies: 4
Views: 2,948
Posted By AndrewEK
Todd: I have a lot of VisualBasic scripts, and...

Todd:
I have a lot of VisualBasic scripts, and many of them contain similar functions. I'd like to take those common functions out of the scripts and put them in a common library that would then be...
Showing results 1 to 25 of 35

 
Forum Jump

All times are GMT -6. The time now is 06:48 AM.