These examples demonstrate how to automate the Command window in SecureCRT 7.2 and newer.
What is the Command Window?
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.
The Command window provides a mechanism for composing a line (or more) of text before sending to the remote system. The Command window also supports history, which allows previous commands to be viewed, edited, and sent. Commands can be sent to the active session, all sessions, selected tab groups, or visible sessions. A "Send characters immediately" mode makes it possible in one or multiple sessions to stop commands using CTRL+C, edit files using an editor such as vi, send escape sequences, and do tab completion.
Find out more about the Command window by watching the Command Window Video on the VanDyke Software YouTube Channel or by reading the tip, Using The Command Window To Send Commands To Multiple SecureCRT Sessions.
A few example script files are available below for slightly different purposes.
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 and visualize the differences between the two examples.
UseButtonToPopulateCommandWindow.py.txt (1.3 KB)
Command(Chat)WindowScriptingTutorial(7.2+).vbs.txt (9.2 KB)
Command(Chat)WindowScriptingExample(7.2+).vbs.txt (5.7 KB)
VanDyke Software uses cookies to give you the best online experience. Before continuing to use this site, please confirm that you agree to our use of cookies. Please see our Cookie Usage for details.
Here you can control cookies using the checkboxes below. Some cookies are essential for the use of our website and cannot be disabled. Others provide a convenience to the user and, if disabled, may reduce the ease of use of our site. Finally, some cookies provide anonymous analytic tracking data that help us provide the user with a richer browsing experience. You can elect to disable these cookies as well.