Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #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: 926
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, 2404 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.
Closed Thread

Tags
example script


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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:53 PM.