Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-31-2018, 11:38 AM
7rent 7rent is offline
Registered User
 
Join Date: Apr 2017
Posts: 2
close tabs in right

Is it possible add menu item or button that close all tabs in right of current tab by script?
Reply With Quote
  #2  
Old 08-31-2018, 11:43 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,529
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.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 08-31-2018, 11:57 AM
7rent 7rent is offline
Registered User
 
Join Date: Apr 2017
Posts: 2
Can I write this functionality by self using scripts?
Reply With Quote
  #4  
Old 08-31-2018, 01:13 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,529
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, 12 views)
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply


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 08:12 AM.