Delay Taskbar popup?


  1. Posts : 2
    10
       #1

    Delay Taskbar popup?


    Hello. Thanks for letting me join this forum.

    I'm looking for a way to delay the popup of the hidden taskbar at the bottom of my screen. I want to keep it hidden until I need it, but sometimes when I move my cursor too close to it when working it pops up. This happens several times a day.

    I know how to keep it always showing instead of hidden, but I prefer the hidden option. I've also tried moving it from the bottom of the screen to the side, but the same issue occurs.

    Is there any way (using a script or otherwise) to delay the popup so that if my cursor accidentally strays over it briefly, it won't pop up? I've tried searching for a solution but have had no luck.

    Thanks!
      My Computer


  2. Posts : 2,921
    Windows 10 Pro for the Bro
       #2

    Welcome to the forums.

    I tried looking online. I found this:
    https://answers.microsoft.com/en-us/...p%27%20windows
    which leads to this:
    The Taskbar Activate page (correct address)
    TAonly.zip is the file

    BUT... I tried scanning that file on VirusTotal. One Virus Scanner doesn't like it...
    I am not sure if it's safe.

    But that's all that I can find.

    More info about that program, and someone that used it in the past:
    Enhance Windows Taskbar Auto-Hide Functionality Using Taskbar Activate – AskVG

    Also, this link says that it was last updated in 1999. So if it was infected, then today's Windows Defender would block it if it's unsafe:
    https://answers.microsoft.com/en-us/...d-3f743149d979

    Still though... not sure.
      My Computer


  3. Posts : 2
    10
    Thread Starter
       #3

    Thanks for taking the time to look. I was going to give it a try but my virus scan warned me that it looked suspicious. So I decided to pass on it. I did find some instructions online explaining how to delay the popup via a registry edit, but it didn't work for me. I'm kind of surprised that this isn't a more common request. But it is what it is. Thanks again.
      My Computer


  4. Posts : 3,275
    Win10
       #4

    The following AutoHotkey script might be worth a try to see if it is suitable for your needs. In limited testing on Windows 11, it does appear to work using AutoHotkey Version 1.1.

    AutoHotkey
    [Win7] DelayTaskbar - Improve "Auto-hide the taskbar" feature - Scripts and Functions - AutoHotkey Community

    Taskbar_Delay.ahk
    Code:
    ; This is not my script, to see the source, have a look here:
    ; https://www.autohotkey.com/board/topic/90115-win7-delaytaskbar-improve-auto-hide-the-taskbar-feature/
    
    
    ; Make sure in Windows taskbar settings, the taskbar is set to autohide.
    ; Set the delay before the taskbar should appear when mouse is at bottom of screen.
    ; To set the delay, right click the Autohotkey tray icon and select "SetDelay" to input the time in milliseconds (default is 800ms).
    
    
    
    If FileExist(iniFile:=A_ScriptDir "\" SubStr(A_ScriptName,1,-4) ".ini")
      FileRead,Delay,%iniFile%
    else Delay:=800
    SetBatchLines,-1
    SetWinDelay,-1
    CoordMode,Mouse,Screen  
    DetectHiddenWindows,On
    WinGetPos,x,y,w,h,ahk_class Shell_TrayWnd
    DetectHiddenWindows,Off
    pos:=x>0?3:y>0?4:w>h?2:1 ; left, top, right, bottom = 1, 2, 3, 4
    
    WinHide,ahk_class Button
    WinHide,ahk_class Shell_TrayWnd
    Menu,Tray,NoStandard
    Menu,Tray,Add,&Exit,OnExit
    Menu,Tray,Add,&SetDelay,SetDelay
    OnExit, OnExit
    Loop {
      Sleep % Delay/2
      If WinExist("ahk_class DV2ControlHost") && !WinExist("ahk_class Shell_TrayWnd"){
        WinShow,ahk_class Button
        WinShow,ahk_class Shell_TrayWnd
        WinHide,ahk_class DV2ControlHost
        WinShow,ahk_class DV2ControlHost
      WinSet,Redraw,,ahk_class Shell_TrayWnd
      }
      MouseGetPos,x,y,win
      WinGetClass,class,ahk_id %win%
      If (GetKeyState("LButton","P") || win=ShellID || win=ButtonID || class="#32768" || WinExist("ahk_class TaskListThumbnailWnd") || WinExist("ahk_class NotifyIconOverflowWindow")){
        DetectHiddenWindows,On
        WinGetPos,x,y,w,h,ahk_class Shell_TrayWnd
        DetectHiddenWindows,Off
        pos:=x>0?3:y>0?4:w>h?2:1 ; left, top, right, bottom = 1, 2, 3, 4
        continue
      }
      If WinExist("ahk_Class ahk_class DV2ControlHost") || (pos=1 && (x>-2 && x<2)) || (pos=2 && (y>-2 && y<2)) || (pos=3 && (x>A_ScreenWidth-2 && x<A_ScreenWidth+2)) || (pos=4 && (y>A_ScreenHeight-2 && y<A_ScreenHeight+2))
        SetTimer,ShowTray,% -1*(Delay/4)
      else if WinExist("ahk_class Shell_TrayWnd") {
        SetTimer,ShowTray,Off
        WinHide,ahk_class Shell_TrayWnd
        WinHide,ahk_class Button
      }
    }
    SetDelay:
    InputBox,NewDelay,Set new delay,Please enter new delay time in milliseconds (minimum 100).,,200,150,,,,,%Delay%
    If (NewDelay=Delay || NewDelay="")
      return
    Delay:=NewDelay<100?100:NewDelay
    FileDelete,% iniFile
    FileAppend,%Delay%,% iniFile
    Return
    OnExit:
    WinShow,ahk_class Shell_TrayWnd
    WinShow,ahk_class Button
    WinSet,Redraw,,ahk_class Shell_TrayWnd
    ExitApp
    
    ShowTray:
      DetectHiddenWindows,On
      WinShow,ahk_class Shell_TrayWnd
      WinShow,ahk_class Button
      WinSet,Redraw,,ahk_class Shell_TrayWnd
      DetectHiddenWindows,Off
      WinGet,ShellID,ID,ahk_class Shell_TrayWnd
      WinGet,ButtonID,ID,ahk_class Button
    Return
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:10.
Find Us




Windows 10 Forums