Last active
February 3, 2021 07:07
-
-
Save Masonjar13/bd38e058a33c8624d7abb78b4a57c357 to your computer and use it in GitHub Desktop.
Force unhide taskbar for specified windows.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#singleInstance force | |
#persistent | |
#noEnv | |
#noTrayIcon | |
coordMode,mouse,screen | |
; windows to work with | |
windows:=["ahk_class MozillaWindowClass ahk_exe firefox.exe"] | |
for i,a in windows { | |
groupAdd,win,% a | |
} | |
setTimer,fixFF,10 | |
return | |
fixFF: | |
if (winActive("ahk_group win")) { | |
mouseGetPos,,my | |
if (my>a_screenHeight-5) { | |
sleep 500 | |
mouseGetPos,,my | |
if (my>a_screenHeight-5) { | |
winActivate,ahk_class Shell_TrayWnd | |
} | |
} | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment