VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   General (https://forums.vandyke.com/forumdisplay.php?f=11)
-   -   Customize title bar (https://forums.vandyke.com/showthread.php?t=10575)

g114112118s 07-13-2012 10:44 AM

Customize title bar
 
I am having same hostname in different sites. Just wondering if there is any way to customize the title bar. Current default title bar is server-1 – Secure CRT, I just want to change to , child + parent , eg Site1 + Server1 etc… blow is just as example

-Sessions
___Site1
______Server-1
______Sever -2
___Site -2
______Sever -1
______Sever-2

Thank you,

bgagnon 07-13-2012 01:52 PM

1 Attachment(s)
Hi g114112118s,

You wrote you wanted to customize the title bar, but then have provided a hierarchy that seems to represent the session names as displayed in the Connect dialog.

Do you want to change the session names?

Or do you only want to change the tab title (caption) and title bar?

Do you want the change to be temporary or permanent?

There are five methods (I can think of) to configure a tab title:
  • Derived from the session's name
  • Escape sequence received by SecureCRT from the shell (or remote)
  • Right-click on a tab and choosing 'Rename'
  • Configuring via Session Options 'Terminal / Appearance / Window' (Title bar)
  • Set tab caption via a script
I have attached a graphic that illustrates some of the methods for changing these options.

g114112118s 07-13-2012 03:35 PM

Thanks Brenda.!...referring to your snap, windows title should say either "CISCO Routers - 10.0.100.1" or "CISCO Routers" is also just fine.

bgagnon 07-13-2012 05:50 PM

Hi g114112118s,

This is not currently automatically possible. You can use %S (for session name) in the Title bar option in the Terminal / Appearance / Window category of SecureCRT's Session Options, but there is not currently a way to include the subfolder of the session.

I have added this thread to a feature request in our product enhancement database for a new substitution parameter to indicate the path to the session's subfolder for logging purposes (%F). Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct e-mail notification, contact support@vandyke.com and include "Feature Request - Forum Thread #10575" in the subject line.

Currently, you would have to achieve this by entering CISCO Routers - %S in the Title bar field and enabling the option.

g114112118s 07-13-2012 07:54 PM

Thank you, is there any way that, without touching tab name, can change the title only. is there is any tweak can be done via ini, i am fine with tab-naming. just need to do something identifiable for the title only.

bgagnon 07-16-2012 08:01 AM

Hi g114112118s,

It is not currently possible to set the tab and window captions separately.

I have added this thread to a feature request in our product enhancement database for the bility to set window and tab captions independently. Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct e-mail notification, contact support@vandyke.com and include "Feature Request - Forum Thread #10575" in the subject line.

rcomito 08-10-2012 10:00 AM

Hi g114112118s,

I'm not sure if this is what you're looking for, but you can change the tab name in your code too:
Code:

crt.Window.Caption = "A string of your choice"
The window title follows the tab selected. I use this to keep track of where each tab is connected.

I picked up this code snippet on this site somewhere. I wish I could give
credit for it, but I just don't remember.

Rick

Maureen 01-04-2017 03:26 PM

A new substitution parameter %F has been added that can be used to specify the session's subfolder in a log filename. This has been implemented in a pre-beta version of SecureCRT. If you'd like to try it, please send email to me at Maureen.Jett@vandyke.com.

Maureen

Maureen 09-11-2018 03:31 PM

Support for setting tab and window bar captions independently has been added to a pre-beta version of SecureCRT. Please email me at Maureen.Jett@vandyke.com if you would like to try it.

Regards,
Maureen


All times are GMT -6. The time now is 07:46 AM.