Skip to content

Instantly share code, notes, and snippets.

@Masonjar13
Last active February 3, 2021 07:07
Show Gist options
  • Save Masonjar13/bd38e058a33c8624d7abb78b4a57c357 to your computer and use it in GitHub Desktop.
Save Masonjar13/bd38e058a33c8624d7abb78b4a57c357 to your computer and use it in GitHub Desktop.
Force unhide taskbar for specified windows.
#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