View Single Post
Old 05-13-2021, 01:38 PM
cboyack cboyack is offline
VanDyke Technical Support
Join Date: Apr 2020
Location: Albuquerque, NM
Posts: 132
Hi again fabb,

I apologize for not sharing with you a working example. My bad.

Here's an example of how to get at the tab object:

Set objTab = crt.GetScriptTab
objTab.Caption = hostname
FYI, the tab.Caption property will also change the window title of the main SecureCRT app, and this is by design. With few exceptions (one of which is launching the app with the /TITLEBAR CLI option), the SecureCRT main application window title always reflects the caption of the current/active tab. So, when you set the tab title, you're also changing what gets displayed in the window title.

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