View Single Post
  #1  
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: 920
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.

--Jake
Attached Files
File Type: txt SaveScreenTextToFile.vbs.txt (10.5 KB, 2330 views)
__________________
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; 12-16-2014 at 03:24 PM.