VanDyke Software Forums

VanDyke Software Forums (
-   General (
-   -   List of all open sessions (

gregg 06-05-2019 09:27 AM

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.

gregg 06-05-2019 10:06 AM

This kinda works for me, but isn't pretty; and quite limited.


# $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 = "+"
      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:


jdev 06-05-2019 11:24 AM

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.


All times are GMT -6. The time now is 01:37 PM.