View Single Post
Old 08-31-2018, 01:13 PM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,635
Hi 7rent,

Sure, but I am not sure there is any mechanism to determine "to right" of desired tab.

What version of SecureCRT are you using?

On what platform?

I have attached a VBScript example that will close all but the current tab. You can't close the tab where the script is running anyway, so as long as you make sure the one tab you don't want closed is the leftmost one and the one you run the script from, this could work for you.
Attached Files
File Type: txt CloseAllButCurrentTab.vbs.txt (9.5 KB, 269 views)

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote