VanDyke Software Forums

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

 
 
Thread Tools Display Modes
  #1  
Old 03-25-2005, 12:04 PM
byrned byrned is offline
Registered User
 
Join Date: Mar 2005
Posts: 3
Tab Scripting

Is it currently possible to create a new tab/connection in a script?

Thanks,
David Byrne
TIAA-CREF
  #2  
Old 03-25-2005, 12:34 PM
Maureen's Avatar
Maureen Maureen is offline
VanDyke Product Director
 
Join Date: Feb 2004
Location: Albuquerque, NM
Posts: 1,612
Currently, there's not a way to do this. I'd be interested to hear more about what you'd like to be able to do.

Maureen
  #3  
Old 03-25-2005, 02:11 PM
byrned byrned is offline
Registered User
 
Join Date: Mar 2005
Posts: 3
My main goal is to have a short script to create a new tab and establish a connection in it. Nothing too fancy; something like this:

Dim host
Dim TabHandle

host = crt.Dialog.Prompt("Hostname?", "Destination Host", "", False)
set TabHandle = crt.newtab
TabHandle.session.connect("/NOSAVE /SSH2 /L byrned " + host)



It would also be nice to have some kind of collection or array under the crt object that contains all of the open tabs. It could let you do something like this:

For Each TabHandle in crt.Tabs
TabHandle.DoSomething

If TabHandle.connected Then ...
If TabHandle.Hostname = "server" Then ...
Next
  #4  
Old 03-28-2005, 06:17 AM
okstorms's Avatar
okstorms okstorms is offline
Registered User
 
Join Date: Aug 2004
Location: Wilmington, DE
Posts: 38
I second this request... I haven't actually found a use for this kind of scripting, but I can see it somewhere in the future.
  #5  
Old 04-08-2005, 04:20 PM
Maureen's Avatar
Maureen Maureen is offline
VanDyke Product Director
 
Join Date: Feb 2004
Location: Albuquerque, NM
Posts: 1,612
Thanks for the requests and the description of what you would like to be able to do. This has been added to our development database for consideration in a future release.

Maureen
  #6  
Old 06-30-2006, 05:07 PM
Maureen's Avatar
Maureen Maureen is offline
VanDyke Product Director
 
Join Date: Feb 2004
Location: Albuquerque, NM
Posts: 1,612
Scripting support for tabs has been implemented and is available in a pre-beta version of SecureCRT 5.2. If you're interested in trying it, please send an e-mail to me at Maureen.Jett@vandyke.com.

Maureen
 

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:41 AM.


© copyright 1995-2017 VanDyke Software, Inc.