Created
July 1, 2019 17:59
-
-
Save metainfa/f70a2f701d213028307f36776859b51e to your computer and use it in GitHub Desktop.
Change the text of Window Titles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SetWinTitle.ahk - Windows Title Changer | |
A.N.Suresh Kumar aka Goyyah - 12-May-2006 | |
http://www.autohotkey.com/forum/viewtopic.php?p=59692#59692 | |
*/ | |
^#F2::GoSub, GetTitle | |
Return | |
GetTitle: | |
WinID := WinExist("A") | |
WinGetTitle, CTitle, ahk_id %WinID% | |
If CTitle=Program Manager | |
Exit | |
Gui, Margin, 5, 20 | |
Gui, Font, S10, Verdana | |
Gui, Add, Edit, w600 h25 R1 Limit80 vTitle, %CTitle% | |
Gui, Add, Button, x+5 0x8000 w55 h25 gSetTitle, &Apply | |
Gui, Show, AutoSize, Change Windows Title | |
Return | |
SetTitle: | |
Gui, Submit, NoHide | |
WinSetTitle, ahk_id %WinID%,, %Title% | |
Gui, Destroy | |
Return | |
GuiEscape: | |
GuiClose: | |
Gui, Destroy | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment