I don't know SmarTaskbar, but using
Autohotkey (AHK) you can get 3 behaviors for the Windows taskbar, one of which may be what you expect.
1º - AHK Code for hide/show the Taskbar with a key combination!t:: ;"!" is Alt key and "t" is T key
WinExist("ahk_class Shell_TrayWnd")
t := !t
If (t = "1") {
WinHide, ahk_class Shell_TrayWnd ;hiding Taskbar
WinHide, Start ahk_class Button ;hiding Start button
} Else {
WinShow, ahk_class Shell_TrayWnd ;unhiding Taskbar
WinShow, Start ahk_class Button ;unhiding Start button
}
return
2º - AHK Code for keep the Taskbar hiden if your program is active.Loop
{
IfWinActive, SmartTaskbar.exe ;I guessed the EXE name, but you will have to make sure of that.
WinHide, ahk_class Shell_TrayWnd ;hiding Taskbar
WinHide, ahk_class Shell_TrayWnd ;hiding Taskbar
}
Return
3º - AHK Code for keep the Taskbar displayed if any other program is active, except yours.Loop
{
IfWinNotActive, SmartTaskbar.exe ;I guessed the EXE name, but you will have to make sure of that.
WinShow, ahk_class Shell_TrayWnd ;displaying Taskbar
WinShow, ahk_class Shell_TrayWnd ;displaying Taskbar
}
Return