View Single Post
Old 12-16-2014, 03:15 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,034
Post Example: Save Screen Text to a File

This example script illustrates how to take text in the terminal screen (or scrollback buffer) within SecureCRT and save it to a file.

Three script "modes" are supported: Selection, Screen, and Scrollback (which means save text from both screen and the scrollback buffer)

The script's "mode" is controlled by the presence of a command line argument named /Mode. For example: /Mode:Screen
This means that you can map different buttons on SecureCRT's button bar to run the same script, and simply modify the script's arguments to get different behavior.

Comments within the script code explain script behavior in more detail.

Attached Files
File Type: txt SaveScreenTextToFile.vbs.txt (10.5 KB, 2936 views)
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel:

Last edited by jdev; 12-16-2014 at 03:24 PM.