Skip to content

Commit

Permalink
fix: get admin window process name fail
Browse files Browse the repository at this point in the history
  • Loading branch information
amorphobia committed Sep 15, 2024
1 parent b131c6d commit 6ffbc96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Rabbit.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,11 @@ UpdateWinAscii(target := false, use_target := false, proc_name := "", by_tray_ic
if not proc_name {
if not act := WinExist("A")
return
proc_name := StrLower(WinGetProcessName())
try {
proc_name := StrLower(WinGetProcessName())
}
if not proc_name
return
}
RabbitGlobals.active_win := proc_name
if use_target {
Expand Down

0 comments on commit 6ffbc96

Please sign in to comment.