I've used Desk Pins for ages, but lately I've found this very convenient:
http://www.chameleon-managers.com/window-manager/
This has worked well for forcing windows on top.
-
mkolaski
- Posts: 33
- Joined: 16 Jul 2013 20:16
- Location: UK
Re: This has worked well for forcing windows on top.
I've been using this Autohotkey script I found online for several years - just Win & t to toggle
Code: Select all
;always on top Win + t
;#t:: Winset, Alwaysontop, , A
#t::
ActiveHwnd := WinExist("A")
WinGetTitle, WindowTitle, ahk_id %ActiveHwnd%
WinGet, ExStyle, ExStyle, ahk_id %ActiveHwnd%
if (ExStyle & 0x8)
OnTop=1
else
OnTop=0
Winset, AlwaysOnTop, Toggle, ahk_id %ActiveHwnd%
StringReplace, WindowTitle, WindowTitle, %A_Space%- (Pinned)
if not OnTop
WindowTitle:=WindowTitle . " - (Pinned)"
WinSetTitle, ahk_id %ActiveHwnd%,,%WindowTitle%
return
-
Dustydog
- Posts: 321
- Joined: 13 Jun 2016 04:19
Re: This has worked well for forcing windows on top.
Still haven't tried the AHK solution (though I still may). But though I still use chameleon (I may uninstall it sometime, idk), I've found that for really difficult-to-manage programs, deskpins run as an administrator can pin pretty much anything, including Universal Apps. One will sometimes receive an error message, but it pins it anyway.
Will the AHK solution do that?
Will the AHK solution do that?
-
highend
- Posts: 14924
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: This has worked well for forcing windows on top.
Code: Select all
#NoEnv
#Persistent
;#NoTrayIcon
#SingleInstance force
#t:: ; Win + t
WinGetTitle, windowTitle, A
WinGet, exStyle, ExStyle, A
if (exStyle & 0x8) {
StringReplace, windowTitle, windowTitle, %A_Space%- (Pinned)
Winset, AlwaysOnTop, Off, A
} else {
windowTitle := windowTitle . " - (Pinned)"
Winset, AlwaysOnTop, On, A
}
WinSetTitle, A, , % windowTitle
return
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club