Quote:
How to use the extra real estate though?
I know this is kind of a grave dig, but..
channelog: Great script, thanks for sharing.
this is my version of the script: (Allows you to use the extra 'real estate'

)
Code:
#SingleInstance,Force
#NoTrayIcon
#NoEnv
OnExit,ExitSub
;
; Tweakable fading taskbar
;
CoordMode, Mouse, Screen
Twk = 03 ; Area of the taskbar (If mouse goes inside this height the taskbar will fade in)
Twk2 = 35 ; Area of taskbar (until fading out) after it's already visible (should be larger than above)
Twks = 25 ; Speed of animating (higher number = smoother fading but more cpu resources used, & vice versa)
WinSet, AlwaysOnTop, On, ahk_class Shell_TrayWnd
FadeInSpeed = 50 ;Speed to use when showing the taskbar (Mouse in range of taskbar)
FadeOutSpeed = -20 ;(Must be negative) speed for hiding the taskbar (Mouse away from range)
trans := 0
Winset, Transparent, %trans%, ahk_class Shell_TrayWnd
Loop,
{
MouseGetPos, MsX, MsY
Deficit := A_ScreenHeight - Twk ;TBarY - Twk
Deficit2 := A_ScreenHeight - Twk2
If (MsY < Deficit2) and (trans = 0)
{
sleep, 30
continue
}
else if (MsY > Deficit) and (trans = 255)
{
sleep, 30
continue
}
else if (MsY > Deficit) and (trans <> 255)
{
unit := FadeInSpeed
GoSub ChngTrans
}
else if (MsY < Deficit2) and (trans <> 0)
{
unit := FadeOutSpeed
GoSub ChngTrans
}
}
ChngTrans:
if trans < 5
WinSet, AlwaysOnTop, Off, ahk_class Shell_TrayWnd
If trans > 4
WinSet, AlwaysOnTop, On, ahk_class Shell_TrayWnd
trans := trans + unit
if trans > 255
trans = 255
if trans < 0
trans = 0
sleep, %Twks%
Winset, Transparent, %Trans%, ahk_class Shell_TrayWnd
return
ExitSub:
Trans = 255
Winset, Transparent, %Trans%, ahk_class Shell_TrayWnd
ExitApp
return
In order to use it you must first change your taskbar's settings (Right click>Properties) and uncheck "Keep the taskbar on top of other windows.
This allows you to have the whole screen as a work area when the taskbar is hidden, just like Windows's AutoHide, but with a nice transparent fading in/out effect, and it seems a lot more reliable than the built in AutoHide feature.
Also, you can now tweak both the "Fade In" area's range, and the "Fade Out" area's range.

Quote:
Is there ANY way around the redrawing problems with the start menu???
I know what line you're talking about now, and I don't find it much of a problem. I don't see why you'd be opening and closing the start menu like that, and even if you did; the line gets erased when the taskbar fades out then back in.
Any who, I found if you lock your taskbar, the line will not appear.
Edit: It seems since this post I've noticed sometimes the script fails to pickup the mouse getting close to the taskbar. Not sure how it happens or what causes it. Seems to behave just like good old Windows's AutoHide (:()
- Changed around a couple of lines and it seems to behave (slightly) better now. Not sure why the lines I moved helped it though.
- Turns out that last update was only helping temporarily. I don't think theres any way to get it to seamlessly show (I experience problems with other AlwaysOnTop windows with the last update) and I also experience problems with maximized windows rarely. I rolled back the script and changed a couple lines again. I don't think I can improve it's random reliability.