DonationCoder.com Software > Post New Requests Here
Taskbar Activate... Hide your toolbar without it accidently popping up on you
philosopherdog:
I'm using xp and I never liked having a fixed toolbar, but when you set the toolbar to autohide it always pops up when you don't want it to. I hate that. There's no way to control the timing in XP natively. The other day I decided to see if I could solve the problem. I came across a little utility called Taskbar Activate http://home.nordnet.fr/~pmdevigne/TaskbarActivate.html#Historique . It works! It hasn't been updated since 99 though! I was wondering a couple of things: 1) is there anything else like this around? 2) is anyone interested in building on this amazing little program? For instance, I'd love to see a feature that shuts off the ability of a tray icon to cause the bar to come to the top. If you have an icon that's active the whole toolbar comes to the top. I have my toolbar wide on the left side using this program and it rocks.
tomos:
I like the sound of that..
wonder would it work on my second "taskbar" too - a Directory Opus one. Prob not..
jgpaiva:
Solution: HideTaskbar!
code inside
--- ---; Author: jgpaiva
;
; Script Function:
; mimmics windows taskbar autohide without the annoying popup on window
; flash
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
#persistent
#singleinstance,force
EdgeTime := 200
Edge = Bottom
inborder := false
WinHide,ahk_class Shell_TrayWnd
CoordMode,mouse,screen
Settimer,FollowMouse%Edge%,100
return
ShowTaskbar:
if (!inborder)
return
WinHide,ahk_class Shell_TrayWnd
WinShow,ahk_class Shell_TrayWnd
settimer,FollowMouse%Edge%,off
loop
{
sleep,100
MouseGetPos,,,WindowId
WinGetclass,TrayClass,ahk_id %WindowId%
if (TrayClass <> "Shell_TrayWnd")
break
}
settimer,FollowMouse%Edge%,on
WinHide,ahk_class Shell_TrayWnd
return
FollowMouseLeft:
MouseGetPos,MouseX,MouseY
If(MouseX = 0 AND !inborder)
{
inborder := true
settimer,ShowTaskbar,-%EdgeTime%
return
}
If(MouseX <> 0 AND inborder)
{
inborder := false
settimer,ShowTaskbar,off
return
}
return
FollowMouseBottom:
MouseGetPos,MouseX,MouseY
If(MouseY = A_screenheight -1 AND !inborder)
{
inborder := true
settimer,ShowTaskbar,-%EdgeTime%
return
}
If(MouseY <> A_screenHeight -1 AND inborder)
{
inborder := false
settimer,ShowTaskbar,off
return
}
return
FollowMouseTop:
MouseGetPos,MouseX,MouseY
If(MouseY = 0 AND !inborder)
{
inborder := true
settimer,ShowTaskbar,-%EdgeTime%
return
}
If(MouseY <> 0 AND inborder)
{
inborder := false
settimer,ShowTaskbar,off
return
}
return
FollowMouseRight:
MouseGetPos,MouseX,MouseY
If(MouseX = A_screenWidth -1 AND !inborder)
{
inborder := true
settimer,ShowTaskbar,-%EdgeTime%
return
}
If(MouseX <> A_screenWidth -1 AND inborder)
{
inborder := false
settimer,ShowTaskbar,off
return
}
return
Just install autohotkey, copy the code and save it as "hidetaskbar.ahk" and then double-click it ;)
To change the time it takes the taskbar to popup, edit the script and change the "edgetime" parameter.
Notice that this only works for taskbars on the left of the screen!
PS: don't forget to disable windows taskbar auto-hide! Sorry, it's the other way around. Please enable windows taskbar auto-hide, it'll work better.
V 1.1 updated 14-02
added option to choose the edge where the taskbar is positioned. Just change to "edge = top", "edge = left", "edge = bottom" or "edge = left"!
PhilB66:
Have you tried TaskBar Hider utility yet?
tomos:
Notice that this only works for taskbars on the left of the screen!
-jgpaiva (February 13, 2008, 07:53 AM)
--- End quote ---
sounds great,
can that be modified as well?
Navigation
[0] Message Index
[#] Next page
Go to full version