How to set window title when document (MDI) is not maximized
Hi @all,
Here's a little AHK script that sets the window title in Adobe Acrobat 7 when working with multiple and/or not maximized windows, in order that Slife can recognize the subwindows title accordingly.
It would be great if this idea could be picked up by the development team and made standard in all programs that show the same behaviour (i.e. not displaying the documents title when the document (MDI window) is not maximized.
Cheers David.P
;###########################
;###########################
SetTitleMatchMode, 2
DetectHiddenText, Off
#Persistent
#SingleInstance force
SetTimer AcrobatTitle, 3333 ;repeat every ~3 seconds
Return
;###########################
; Set Acrobat Title if Multiple Acrobat MDI Subwindows Present
;###########################
AcrobatTitle:
IfWinActive, Adobe Acrobat, .pdf
{
WinGetText, AcrobatWindowText, Acrobat Professional ;Get visible text from Acrobat's window
StringLen, StringLength, AcrobatWindowText ;Strip everything but the documents title from the text obtained
StringGetPos, RightCut, AcrobatWindowText, .pdf
StringTrimRight, AcrobatWindowTextTrimmedRight, AcrobatWindowText, StringLength-RightCut
StringGetPos, LeftCut, AcrobatWindowTextTrimmedRight, AVToolBarView, R
StringTrimLeft, AcrobatDocumentTitle, AcrobatWindowTextTrimmedRight, LeftCut+15
WinSetTitle, Adobe Acrobat Professional - %AcrobatDocumentTitle% ;Set Acrobat's titlebar text accordingly
}
Return
;###########################
;###########################
Here's a little AHK script that sets the window title in Adobe Acrobat 7 when working with multiple and/or not maximized windows, in order that Slife can recognize the subwindows title accordingly.
It would be great if this idea could be picked up by the development team and made standard in all programs that show the same behaviour (i.e. not displaying the documents title when the document (MDI window) is not maximized.
Cheers David.P
;###########################
;###########################
SetTitleMatchMode, 2
DetectHiddenText, Off
#Persistent
#SingleInstance force
SetTimer AcrobatTitle, 3333 ;repeat every ~3 seconds
Return
;###########################
; Set Acrobat Title if Multiple Acrobat MDI Subwindows Present
;###########################
AcrobatTitle:
IfWinActive, Adobe Acrobat, .pdf
{
WinGetText, AcrobatWindowText, Acrobat Professional ;Get visible text from Acrobat's window
StringLen, StringLength, AcrobatWindowText ;Strip everything but the documents title from the text obtained
StringGetPos, RightCut, AcrobatWindowText, .pdf
StringTrimRight, AcrobatWindowTextTrimmedRight, AcrobatWindowText, StringLength-RightCut
StringGetPos, LeftCut, AcrobatWindowTextTrimmedRight, AVToolBarView, R
StringTrimLeft, AcrobatDocumentTitle, AcrobatWindowTextTrimmedRight, LeftCut+15
WinSetTitle, Adobe Acrobat Professional - %AcrobatDocumentTitle% ;Set Acrobat's titlebar text accordingly
}
Return
;###########################
;###########################
2
people like this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Interesting. Thanks David, I will pass it along!
-
Inappropriate?I agree with the above, but would like to see it across applications. My problem is in tracking VirtualBox Virtual Machine windows. It sees the main window but not the actual virtual machines that are launched from there. For example, in this picture, the activity should have shown like 4+ hours.
I’m frustrated with this behavior
Loading Profile...



EMPLOYEE
