Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-12-2019, 04:12 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,099
Post Example: Open SecureCRT's Log File/Folder

This example script allows you to map a button on SecureCRT's button bar (to run the script), and the currently active log file can be opened in the system's default app for handling the log file.

Specify an argument of /select and the behavior of the script will change to select the file in the file explorer instead of opening it with the default viewer/editor.
Python Example:OpenSessionLogFile.py.txt
VBScript Example: OpenSessionLogFile.vbs.txt
--Jake
Attached Files
File Type: txt OpenSessionLogFile.py.txt (5.2 KB, 2017 views)
File Type: txt OpenSessionLogFile.vbs.txt (4.6 KB, 1830 views)
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Closed Thread

Tags
example script , loggging , securecrt

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 11:49 PM.