Your name on the title bar!

Only forum where polls are allowed. You may announce a new poll in the matching support forum.

Moderators: white, sheep, Hacker, Stefan2

What's your thought over having your name displayed on TC's title bar?

- I like it and I don't want to see any change whatsoever!
47
15%
- I don't like it at all; get rid of it!
46
15%
- The best approach is to make it optional/configurable.
136
45%
- I'm not a fan but I respect and understand the licensing implications.
30
10%
- I don't really care to be honest!
43
14%
- Other (please make a post)
3
1%
 
Total votes: 305

User avatar
Hacker
Moderator
Moderator
Posts: 11042
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Your name on the title bar!

Post by *Hacker » 2018-09-13, 21:29 UTC

Perplexer,
Here is a short AHK script that replaces your name in the title bar to anything you want, by default to Perplexer. It updates the title bar regularly, by default every second.

Code: Select all

#Persistent
#NoEnv

; Change the following two lines as desired
AppendTitleBarText = Perplexer
UpdateFrequencyInMs = 1000

WinGetTitle, TcTitleBarWithoutNameText, ahk_class TTOTAL_CMD
TcTitleBarWithoutNameText := SubStr(TcTitleBarWithoutNameText, 1, InStr(TcTitleBarWithoutNameText, " - ") + 2)

SetTimer, ChangeTCTitle, %UpdateFrequencyInMs%

ChangeTCTitle:
	WinSetTitle, ahk_class TTOTAL_CMD, , %TcTitleBarWithoutNameText%%AppendTitleBarText%
Return
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

Post Reply