Ever since the the Windows 10 anniversary update, any active (non-minimized) always-on-top application makes the taskbar prone to stay on top of windowed fullscreen games. CO is a bit better at staying on top of the taskbar than many other games, but even CO isn't perfect with it. This is mostly an issue for me when using Pidgin.
So I wrote this autohotkey thing to completely hide the taskbar when ever CO (or FF14 or swtor) is active, and thought I'd share since maybe other people had this same problem.
It unhides the taskbar when activating any other windows, and can manually toggle the taskbar with ctrl+shift+t.
Note, you might need to run this as administrator.
settimer, checkforgame, 1000
return
checkforgame:
WinGetClass, class, A
If (class = "PlayerClient" or class = "CrypticWindowClassDX0" or class = "FFXIVGAME")
{
if !(taskbarhidden=1)
{
WinHide ahk_class Shell_TrayWnd
WinHide Start ahk_class Button
taskbarhidden=1
}
}
else
{
if !(taskbarhidden=0)
{
WinShow ahk_class Shell_TrayWnd
WinShow Start ahk_class Button
taskbarhidden=0
}
}
return
^+t::
if !(forcedtaskbarhidden=1)
{
WinHide ahk_class Shell_TrayWnd
WinHide Start ahk_class Button
forcedtaskbarhidden=1
}
else
{
WinShow ahk_class Shell_TrayWnd
WinShow Start ahk_class Button
forcedtaskbarhidden=0
}
return