Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Closed Thread
Thread Tools Rate Thread Display Modes
Old 06-15-2015, 11:56 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,099
Example: Command (Chat) Window Automation

[Update jdev: 08-31-2017] Added example of how to populate the command window using a button on SecureCRT's button bar.

These examples demonstrate how to automate the Command window (formerly known as the "chat window") in SecureCRT 7.2 and newer.
  • Hide/Display/Determine visibility of the Command Window
  • Enable/Disable the option to send commands to all connected sessions
  • Get/Put text into the Command Window
  • Send contents of the Command Window to connected devices
  • Send text to the Command Window using a button on SecureCRT's button bar
Not sure what the command window is?

It used to be called the "chat window" -- historically named because the individual requesting the functionality originally wanted to send multiple lines at once to the poetry bulletin board chat room they were connecting to with SecureCRT at the time. Find out more about the Command (chat) Window by watching the corresponding Command Window Video on the VanDyke Software YouTube Channel.

A few example script files are available below for slightly different purposes.
  • If you want to know how you can populate the command window with a button on SecureCRT's button bar, take a look at the example named UseButtonToPopulateCommandWindow.py.txt

  • If you want a walkthrough experience showing you scripted command window activity step by step, take a look at the example named "Command(Chat)WindowScriptingTutorial(7.2+)".

  • If you are just looking for example code without all the fluff of a walkthrough, take a look at the example named "Command(Chat)WindowScriptingExample(7.2+)".

    If you're interested in knowing what the differences are between the two example scripts referenced immediately above, consider downloading both examples and then use a comparison tool to see & visualize the differences between the two examples.

Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support

Last edited by jdev; 02-25-2021 at 03:38 PM. Reason: Added new example (populate command window with button)
Closed Thread

example script

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 01:39 PM.