Disable Shift Click on taskbar

  1.    #1

    Disable Shift Click on taskbar


    Is there a way to disable opening of a new program when clicking on it int he taskbar while holding shift? I use shift for VOIP programs as a push to talk key while multitasking so this makes it annoying.
      My Computer


  2. Posts : 1,065
    Windows 7 Ultimate x64
       #2

    Hello SevenUser09

    If you install AutoHotKey you can create a script with this code. This will disable shift clicking to open a new instance.

    Code:
    +LButton::                      ;  Shift + LButton hotkey.
        MouseGetPos,,, win          ; Get window under mouse.
        ; If this window is the taskbar,  mode:="", otherwise mode:="{Blind}".
        mode :=  WinExist("ahk_class Shell_TrayWnd ahk_id " win) ? "" : "{Blind}"
         Send %mode%{LButton Down}   ; Click  down, filtering out Shift if mode="".
        KeyWait LButton              ; Wait for button to be  physically released.
        Send %mode%{LButton Up}     ; Click up.
    return
    Hope this helps.
      My Computer


 

   Please note
Unregistered, once your issue is resolved, please remember to thank those that have helped you and mark the thread as Solved

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

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