VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   close tabs in right (https://forums.vandyke.com/showthread.php?t=13238)

7rent 08-31-2018 11:38 AM

close tabs in right
 
Is it possible add menu item or button that close all tabs in right of current tab by script?

bgagnon 08-31-2018 11:43 AM

Hi 7rent,

That functionality is not available presently.

I have added this thread to a feature request in our product enhancement database for an option to close all tabs to the right. Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct email notification, send an email to support@vandyke.com and include "Feature Request - Forum Thread #13238" in the subject line or use this form from the support page of our website.

7rent 08-31-2018 11:57 AM

Can I write this functionality by self using scripts?

bgagnon 08-31-2018 01:13 PM

1 Attachment(s)
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.

Maureen 03-22-2021 05:38 PM

The ability to close tabs to the right of the current tab from the right-click menu has been added to a pre-beta version of SecureCRT.

If you would be interested in trying it, please email me at Maureen.Jett@vandyke.com.

Maureen


All times are GMT -6. The time now is 06:26 PM.