Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: dan.d.jones
Forum: General 09-28-2006, 02:23 PM
Replies: 1
Views: 4,336
Posted By dan.d.jones
Paste from keymap

How do I include a command to paste whatevers in the clipboard in a keymap? I'd like to map Control-T to:

"telnet [PASTE] \n"

EDIT:
(Moderator, I read this forum as being SecureCRT rather...
Forum: Scripting 04-11-2006, 02:40 PM
Replies: 8
Views: 5,011
Posted By dan.d.jones
Well duh!

Color me embarrased. :o While preparing to port my simple test script from Perl to VBA, I realized that I had not properly closed the file. :eek: I looked back in my actual script, where the...
Forum: Scripting 04-11-2006, 10:25 AM
Replies: 8
Views: 5,011
Posted By dan.d.jones
C:\WINDOWS|► perl -v This is perl, v5.8.8...

C:\WINDOWS|► perl -v

This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 21 registered patches, see perl -V for more detail)

Copyright 1987-2006, Larry Wall

Binary build 816...
Forum: Scripting 04-10-2006, 01:40 PM
Replies: 6
Views: 4,617
Posted By dan.d.jones
Use the escaped newline character - \n. Like so:...

Use the escaped newline character - \n. Like so:

alias cls='clear'\nl='ls -lrt'

(The lack of spaces is intentional. The \n is a whitespace character that serves to separate the commands.)
Forum: Scripting 04-10-2006, 01:37 PM
Replies: 8
Views: 5,011
Posted By dan.d.jones
Logging file

JJH,

No, this is not the same file that I'm logging to. Apologies if my choice of variable names was confusing. I've tried with logging to a different file turned on and logging turned off. If...
Forum: Scripting 04-10-2006, 07:39 AM
Replies: 8
Views: 5,011
Posted By dan.d.jones
No solution

Since no one appears to have a solution or suggestion for this problem, I'd appreciate a small bit of assistance. I'd be grateful if someone using version 4.x could run the sample script both...
Forum: Scripting 04-07-2006, 12:15 PM
Replies: 4
Views: 7,936
Posted By dan.d.jones
Language?

Which language are you looking to use?
Forum: Scripting 04-07-2006, 08:45 AM
Replies: 4
Views: 4,810
Posted By dan.d.jones
Environmental variable

You'll want to use the magic hash %ENV. It automagically stores your environment as a series of keys and values. Here's a sample script that reads the value of the BBS_LOGDIR environmental...
Forum: Scripting 04-06-2006, 10:23 AM
Replies: 16
Views: 16,747
Posted By dan.d.jones
Wait for prompt

I'd recommend adding a line to wait for the prompt after the last command:

crt.Screen.Send "sh clock" & vbCR
crt.Screen.Send vbCR
crt.Screen.WaitForString"HOSTNAME#"
crt.Screen.SendSpecial...
Forum: Scripting 04-06-2006, 09:57 AM
Replies: 8
Views: 5,011
Posted By dan.d.jones
Version info

Forgot to include: I'm using SecureCRT version 4.0.9
Forum: Scripting 04-06-2006, 09:55 AM
Replies: 8
Views: 5,011
Posted By dan.d.jones
Writing to external file

I'm working on scripting operations on a number of Cisco devices via PerlScript. I want to be able to execute scripts, analyse their output and write comments to an external file. The problem is...
Showing results 1 to 11 of 11

 
Forum Jump

All times are GMT -6. The time now is 03:40 PM.