Sign in to follow this  
Followers 0
BigDaddyO

SysTray TaskBar Cleanup

2 posts in this topic

Something like this has probably been posted before but I can't find it, So I wrote my own.

Basically all it does is moves your mouse over all the items in the system tray then moves your mouse back to where it was.

I have tested it and it does work even if your TaskBar is set to AutoHide

$CurrentPos = MouseGetPos()
Opt("WinTitleMatchMode", 4)
$Tray = WinGetClientSize("classname=Shell_TrayWnd", "")
if not @error then
    $TopofSysTray = @DesktopHeight - $Tray[1]
    for $i = 5 to @DesktopHeight - $TopofSysTray Step 5
        MouseMove($Tray[0], $TopofSysTray + $i, 1)
        MouseMove(0, $TopofSysTray + $i, 1)
    Next
    MouseMove($CurrentPos[0], $CurrentPos[1], 1)
EndIf

Mike


Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0