VKontakte.DJ
forum traveling
 

Celestial Software

...better by design

Home Support Scripting Home

VBScript Scripting in AbsoluteTelnet/SSH version 7

E-mail Print

AbsoluteTelnet / SSH version 7 introduces a feature that has been at the top of my request list for awhile.  I knew session scripting would take a while to do correctly, and I finally decided that now was the right time and I don't think you'll be disappointed with the results! 

AbsoluteTelnet uses the Microsoft Script Control to implement a fully VBScript compatible scripting language with extensions to give you control over session data.  Now, you can use your VBScript scripting skills and a little imagination to automate tasks within a terminal session over telnet, ssh, serial, or dialup.

 Scripts can be implemented in three different places within AbsoluteTelnet to achieve various results...

  1. Scripts can be entered in Options->Properties->Scripts.  Scripts entered here are saved along with your session file (.tnt file) and are specific to any session opened using that session definition.  The script is started at login time and is useful for setting up session logging, monitoring, or login automation.
  2. If you don't want to define a different script for each session file, you can enter a script in the Options->Properties->Global page using the option 'edit global connection script' option.  Here, you can define a single global script that runs at login time.  This option is useful for session logging and monitoring.  You *could* perform login automation here, but your login credentials are probably different for each host, so this is probably not the best place to implement that.  See option 1 above.  Global scripts and session script can both run in parallel at login time, so be careful not to replicate the same functionality in both places.  It won't be pretty.
  3. To provide user-initiated scripting, keyboard-mapping has been enhanced to allow the inclusion of a VBScript coded script into the mapping interface.  With this feature, scripts can be run ad-hoc at user request, not just at login time.  For example, you could map a diagnostic script to the 'F7' key so the user can perform complex diagnostic tasks in response to a single keystroke.

Related Links:  Script Examples, VBScript API

Last Updated on Thursday, March 05, 2009 04:01 pm  

Recent Forum Posts

info in Secure Shell by bpence, Jan 29, 2024 09:01 am
info in Secure Shell by bpence, Nov 20, 2023 09:43 am
info in Secure Shell by bpence, Nov 17, 2023 09:44 am
info in AbsoluteTelnet General by bpence, Nov 14, 2023 06:55 am
info in Configuration issues by taa1, Nov 05, 2023 04:26 pm
I've tried lots of different telnet/ssh clients, and I have two long-time favorites: Putty and Absolute Telnet. Putty, because it's such a quick download that on someone else's machine i can run it without going through an install, and it runs ssh. But for my own machine, the only choice is Absolute Telnet. It stores my password, terminal appearance and connection settings so that it's literally 2 seconds from clicking the icon to being logged in to my remote ssh accounts. It's incredibly customizeable, but not overwhelmingly so. I hardly ever pay for software (I'm embarassed to say), but I like Absolute Telnet so much I've paid for the full version and I'm glad I did. It's important to note that this software is maintained by one guy, Brian Pence, who personally answers people's questions on his online forum and answers email inquiries (he's answered a couple of mine, and always been really helpful). I gotta say, you hardly ever get this kind of commitment and personal touch in software anymore. --Ben Wheeler