Index
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.
Example Scripts
SaveScreenTextToFile.vbs.txt (10.5 KB)
SaveScreenTextToFile.py.txt (13 KB)