Steffan
Level 2
03-01-2024
07:49 PM
- Mark as New
- Permalink
- Report Inappropriate Content
Here you go... copy and paste into Notepad and save as LacerteSignInAlwaysOnTop.ahk or whatever name you prefer. You'll need AutoHotkey to run it. Download link here: AutoHotkey
Here's a direct link if you prefer: https://file.io/78xLcWhiRfTK
Very useful scripting language, you can automate a lot with it. 😄
Let me know if you have any issues.
#Persistent
SetTimer, LacerteSignInAlwaysOnTop
LacerteSignInAlwaysOnTopHWNDs := {}
LacerteSignInAlwaysOnTop() {
global LacerteSignInAlwaysOnTopHWNDs
SetTitleMatchMode, RegEx
WinGet, HWNDs, List, Sign In ahk_exe i)(w\d{2}tax\.exe|AccountServer\.exe)
Loop %HWNDs% {
HWND := HWNDs%A_Index%
if (HWND and !LacerteSignInAlwaysOnTopHWNDs.HasKey(HWND)) {
WinActivate, ahk_id %HWND%
WinSet, AlwaysOnTop, On, ahk_id %HWND%
LacerteSignInAlwaysOnTopHWNDs[HWND] := true
}
}
}