Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 06-05-2019, 09:27 AM
gregg gregg is offline
Registered User
 
Join Date: Oct 2010
Posts: 53
Lightbulb List of all open sessions

Hello! This would likely be a new feature. I generally almost always have as many secure crt tabs open as I do browser tabs.

It'd be great if there was a pop-up type window that listed all of the tabs and current connection state and a way to search/filter them. Possibly even across windows.

I frequently find myself giving up looking for a session I know I have open and start a new one which only exasperates the problem.

The Window menu only lists up to 10 open sessions, which is a start, but I have one scrt process right now showing 34 tabs, with others scrolled off to the right I can't see.
Reply With Quote
  #2  
Old 06-05-2019, 10:06 AM
gregg gregg is offline
Registered User
 
Join Date: Oct 2010
Posts: 53
This kinda works for me, but isn't pretty; and quite limited.

Code:
# $language = "Python"
# $interface = "1.0"

def main():
  tabs = dict()
  tab_count = crt.GetTabCount()
  for idx in range(tab_count):
    tab = crt.GetTab(idx + 1)
    cap = tab.Caption
    if tab.Session.Connected:
      conn = "+"
    else:
      conn = "-"

    tabs[cap] = "%2d: [%s] %s" % (tab.Index, conn, cap)


  list = [ val for (key, val) in sorted(tabs.iteritems()) ]

  selected = crt.Dialog.Prompt("\n".join(list), "Sessions", "")
  if selected:
    crt.GetTab(int(selected)).Activate()

main()
Reply With Quote
  #3  
Old 06-05-2019, 11:24 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 931
Hi Gregg,

I've captured a feature request for you.

If we come up with something to share, we'll post news of it here.

--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Reply With Quote
Reply

Tags
feature


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 09:03 PM.