Page 1 of 1

Keep Properties Windows Always-on-Top

Posted: 14 May 2020, 09:45
by WalterRoberts
I am looking for a way to keep all existing properties panels always-on-top while this script is running. Working with the online help I have come so far, but the problem is that only the very first properties panel stays on top and all others will not be affected, which is pointless when quickly wanting to compare properties.
As a side note I would like to ask whether a script like this, which is constantly checking if WinActive/WinExists, is a resource hog?

Code: Select all

#Persistent
SetTimer, WatchForMenu, 5
return  ; End of auto-execute section.

WatchForMenu:
if WinActive("ahk_class #32770")
    WinSet, AlwaysOnTop, on, ahk_class #32770
return

;Manual Mode
#Enter:: WinSet, AlwaysOnTop, , A

Re: Keep Properties Windows Always-on-Top

Posted: 14 May 2020, 16:10
by GEV