Forum: Scripting
07-23-2012, 05:29 PM
|
Replies: 10
Views: 8,538
Just a suggestion
Have you considered splitting the task into two components?
1. A SecureCRT script to go round connecting to all the devices and running all the commands but writing everything to a common or...
|
Forum: Secure Shell
06-23-2012, 06:02 PM
|
Replies: 1
Views: 3,841
SSH2 Problems
Hi,
I have a strange problem with SecureCRT. I am connecting to a SSH2 host and issuing a command to the host ( an Avaya Call Server ). The sequence looks like this:-
.stat msdl
MSDL 000 1...
|
Forum: General
05-04-2012, 01:58 PM
|
Replies: 16
Views: 24,454
Powershell & SecureCRT
Hi,
Its been a while and I wondered if you were any closer to implementing Powershell support in SecureCRT.
Thanks,
Stuart
|
Forum: Scripting
09-07-2011, 06:34 AM
|
Replies: 5
Views: 4,097
Simple Connection Script
Is it possible that your synthesised string is not disambiguating the password text from the host?
try changing:-
crt.Session.Connect "/SSH2 /L user /PASSWORD pass" & strHost
To:-...
|
Forum: Scripting
09-05-2011, 09:50 AM
|
Replies: 6
Views: 8,349
SecureCRT Text/Script editor
Hi,
Just wanted to add my opinion to this.
The LAST thing I want is for SecureCRT to come with a bundled in-skins script editor. Spend your precious development time on something else...
|
Forum: Scripting
09-01-2011, 12:50 AM
|
Replies: 12
Views: 14,753
Strange WaitForString() Problem
Todd,
Thanks for taking the time to provide a really good answer. You answer helps me greatly in understanding the real-time sensitivity around the WaitForString() method.
The statement you...
|
Forum: Scripting
08-30-2011, 02:23 PM
|
Replies: 12
Views: 14,753
Strange WaitForString() Problem
Hi Todd,
First off - Thanks, yes the code you suggested has tested and seems to work perfectly in the problem scenario. I'm really grateful to you for taking the time and interest in my problem...
|
Forum: Scripting
08-29-2011, 09:29 AM
|
Replies: 12
Views: 14,753
Strange WaitForString() Problem
Hi Todd,
I've just sent the raw log to you.
I can confirm that crt.Screen.Synchronous = True and have re-applying that property in the individual Sub that I know to be executing.
I have now...
|
Forum: Scripting
08-29-2011, 08:47 AM
|
Replies: 12
Views: 14,753
Strange WaitForString() Problem
Hi,
I have taken a raw log and can send it to you if you wish.
When I open the raw log in notepad it looks quite normal with each prompt on a line by itself. When I save the file then look at...
|
Forum: Scripting
08-28-2011, 04:35 PM
|
Replies: 12
Views: 14,753
Strange WaitForString() Problem
Hi.
From time to time I've bumped into odd problems in SecureCRT scripting be it with VBScript or Perl. Mostly due to Waitforstring() not 'firing' when I think it should. In the vast majority of...
|
Forum: Scripting
08-17-2011, 05:25 PM
|
Replies: 3
Views: 4,852
Strawberry & SecureCRT
Well it seems not as removing Strawberry and installing Activestate has got the script running...sort of.
I'm hitting a new problem though. No matter what I try I cannot get the sleep method to...
|
Forum: Scripting
08-17-2011, 03:15 PM
|
Replies: 3
Views: 4,852
Strawberry Perl & SecureCRT
Hi,
OK. I give up.
Any known way to get SecureCRT on Windows 7 to run PerlScript via Strawberry?
Just getting:-
"Could not locate script engine for language "PerlScript", error:...
|
Forum: General
02-14-2011, 03:20 PM
|
Replies: 16
Views: 24,454
Powershell & SecureCRT
Hi,
So it's been a wee while .. but no update that I can see about VanDyke's plans to include support for Powershell in SecureCRT.
Following on from the previous message on the subject would...
|
Forum: General
10-04-2010, 05:14 AM
|
Replies: 16
Views: 24,454
SecureCRT and Powershell
Hi,
I don't think that whether PHP is supported or not is the issue.
My personal opinion is that SecureCRT must now change in order to support Windows Powershell.
Activex Scripting is now...
|
Forum: Scripting
08-26-2010, 01:06 AM
|
Replies: 5
Views: 10,145
Passing arguments to scripts
Thanks for the encouragement.
I would not anticipate ever having to pass more than forty lines of csv.
Each line would never exceed more than 200 chars.
Essentially an array of strings to be...
|
Forum: Scripting
08-25-2010, 02:02 AM
|
Replies: 5
Views: 10,145
Passing arguments to scripts
Thanks for the responses!
When you point out:-
I think that kills my planned approach. I'll need to drop the data into a file from my "external" perlscript and read it in again in my...
|
Forum: Scripting
08-24-2010, 02:49 PM
|
Replies: 5
Views: 10,145
Passing arguments to scripts
Humph... I suppose I could always join all my strings together with a delimiter then pass that single (long) string as a single argument then split it up again in the CRT runtime. That would work,...
|
Forum: Scripting
08-24-2010, 02:35 PM
|
Replies: 5
Views: 10,145
Passing arguments to scripts
Hi,
I have read the "Scripting Essentials" pdf and can see that using the /ARG switch it is possible to pass arguments into the script for use in the subsequent runtime and execution.
I might...
|
Forum: Scripting
08-15-2010, 02:10 PM
|
Replies: 2
Views: 4,768
SecureCRT Script Library
Hi,
How about a script library? A place where SecureCRT scripters could upload/download/browse/critique and collaborate on scripts spanning all the supported languages.
Users would benefit by...
|
Forum: Scripting
08-10-2010, 12:34 AM
|
Replies: 9
Views: 15,825
VBScript & Regex
Thanks Jake,
Yep. VBScripts support for regular expressions is another reason that I decided to learn some perl ;-)
Regards,
Stuart
|
Forum: Scripting
08-09-2010, 03:48 PM
|
Replies: 9
Views: 15,825
language selection issues for W7 x64
Hi,
That's disappointing.
Much of what I use SecureCRT for at work is grabbing and munging text. Fortunately the computer I use at work is x86, and perl runs just fine within SecureCRT there.
...
|
Forum: Scripting
08-09-2010, 02:29 PM
|
Replies: 9
Views: 15,825
perl support in x64
I guess uninstalling SecureCRT x64 and installing the x86 version would probably help now that I'm running x86 perl?
Thanks,
Stuart
|
Forum: Scripting
08-09-2010, 02:19 PM
|
Replies: 9
Views: 15,825
Activeperl x64
Hi Todd,
Thanks for the information.
I'd just like to check if I understand you fully ... are you saying the problem is with the x64 version of Activeperl?
I uninstalled x64 Activeperl,...
|
Forum: Scripting
08-08-2010, 08:52 AM
|
Replies: 9
Views: 15,825
Error 0x800401f3
Hi,
Running the following, simplified PerlScript :-
# $language = "PerlScript"
# $interface = "1.0"
use Win32::OLE;
Win32::OLE->Option(Warn => 3);
|
Forum: General
08-04-2010, 01:46 AM
|
Replies: 16
Views: 24,454
Powershell ActiveX Component
Hi,
I'm really keen for SecureCRT to support Powershell.
Please note that Sapien Technologies have developed a small freeware package that may be of real interest. Here is the description:-
...
|