VanDyke Software Forums

Go Back   VanDyke Software Forums > SecureCRT 5.1/SecureFX 3.1/VShell 2.6 Beta
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
  #1  
Old 04-19-2006, 04:56 PM
bccsrc bccsrc is offline
Registered User
 
Join Date: Apr 2006
Posts: 4
Talking Scripting SecureCRT5.0

Hello,

I'm looking for a way to script using a list of items on WordPad or UltraEdit.

Let's say I have a list of numbers:

1
2
3
4
5
6
7
8
9
10

I would like to input this info to delete stuff out of a Secure CRT Window. After it inputs the first crt.screen.send "1 blah blah blah" & vbcr, then crt.screen.waitforstring "req" and then continue down the list.

Is this possible or have I confused anyone yet?

Thank you
  #2  
Old 04-20-2006, 02:51 PM
tnygren's Avatar
tnygren tnygren is offline
Registered User
 
Join Date: May 2005
Posts: 1,408
Hi Bccsrc,

I just want to make certain that I understand correctly.

First, you need to be able to read in lines from a text file.

After those lines are read in, the information needs to be sent to the remote when SecureCRT finds that information displayed on screen.

Is that correct?

If it is, we do have a sample script that shows how to read in lines from a text file and place those lines into an array in the script to be used later.

Would this be useful?

If it was not correct, could you tell me more about what you would like to do in the script?
__________________
Thanks,

Teresa

Teresa Nygren
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:46 AM.


copyright 1995-2017 VanDyke Software, Inc.