It'ld be a help to be able to trime the titlebar's showing of the document name to just the docment name, no path.
Regards,
Chuck Billow
Editing Titlebar document name
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
If you don't mind having a program running in the background to achive this, then look at this:
The program requires AutoItv3.exe from http://www.hiddensoft.com/autoit3/ to run, and can the script can be stopped with a tray icon that appears.
Hope that helps
Code: Select all
;AutoIt 3.0.73 script named 'TextPadTitleBar.au3' for TextPad 4.71
While (1) ;infinite loop
If WinExists("TextPad")
$t = StringTrimLeft(WinGetTitle("TextPad -"), 10) ;removes 'TextPad - '
$t = StringTrimRight(StringTrimLeft($t,1),1) ;removes brackets
WinSetTitle("TextPad -", "", $t)
EndIf
sleep(250) ;pause for 250 millisecondse... probably not needed
Wend
Hope that helps
Cyberslug:
Thanks... I'll give it a shot.
Regards,
Chuck Billow
Thanks... I'll give it a shot.
Regards,
Chuck Billow
CyberSlug wrote:If you don't mind having a program running in the background to achive this, then look at this:
The program requires AutoItv3.exe from http://www.hiddensoft.com/autoit3/ to run, and can the script can be stopped with a tray icon that appears.Code: Select all
;AutoIt 3.0.73 script named 'TextPadTitleBar.au3' for TextPad 4.71 While (1) ;infinite loop If WinExists("TextPad") $t = StringTrimLeft(WinGetTitle("TextPad -"), 10) ;removes 'TextPad - ' $t = StringTrimRight(StringTrimLeft($t,1),1) ;removes brackets WinSetTitle("TextPad -", "", $t) EndIf sleep(250) ;pause for 250 millisecondse... probably not needed Wend
Hope that helps