Solved Disable Shift Click on taskbar

  • Thread starter Thread starter SevenUser09
  • Start date Start date
S

SevenUser09

Guest
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.
 
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::                      [COLOR=#008000];  Shift + LButton hotkey.[/COLOR]
    MouseGetPos,,, win          [COLOR=#008000]; Get window under mouse.[/COLOR]
    [COLOR=#008000]; If this window is the taskbar,  mode:="", otherwise mode:="{Blind}".[/COLOR]
    mode :=  WinExist("ahk_class Shell_TrayWnd ahk_id " win) ? "" : "{Blind}"
     Send %mode%{LButton Down}   [COLOR=#008000]; Click  down, filtering out Shift if mode="".[/COLOR]
    KeyWait LButton              [COLOR=#008000]; Wait for button to be  physically released.[/COLOR]
    Send %mode%{LButton Up}     [COLOR=#008000]; Click up.[/COLOR]
return

Hope this helps. :D
 

My Computer

Computer Manufacturer/Model Number
HP Touchsmart IQ771.uk
OS
Windows 7 Ultimate x64
CPU
AMD Turion(tm) 64 X2 Mobile Technology TL-56
Motherboard
ASUS Pheonix
Memory
3GB Nanya PC2-6400 DDR2-SDRAM SO-DIM (400MHz)
Graphics Card(s)
NVIDIA GeForce Go 7600 256MB GDDR3 SDRAM
Sound Card
High Definition Intergrated NVIDIA MCP51
Monitor(s) Displays
46" Sony Bravia HDTV
Screen Resolution
1600x1200
Hard Drives
1.5TB Samsug
320GB Seagate ST3320820AS - SATA 3Gb/s 8MB
500GB Maxtor Basics STM305003EHD301-RK
Internet Speed
↓6.32 Mb/s ↑0.35 Mb/s ↔26ms
Other Info
BIOS - American Megatrends Inc. 5.07
Ethernet Port - NVIDIA nForce 10/100/1000 Mbps
DVD Drive - TSSTcorp DVDR/RW TS-T632L
Back
Top