VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   Example: Open SecureCRT's Log File/Folder (https://forums.vandyke.com/showthread.php?t=13969)

jdev 11-12-2019 05:12 PM

Example: Open SecureCRT's Log File/Folder
 
2 Attachment(s)
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


All times are GMT -6. The time now is 04:18 AM.