Powerful boss Key "middle button hide and mute"

Source: Internet
Author: User
Tags sleep

Boss Key or custom-made good, other downloads are not very practical. Launch my boss key script as a launching bar.

/* Strong boss Key "middle button hide and mute" by Feiyue--------------------------------------Features: 1, Middle Click Hide, middle button double-tap kill process, while mute can hide (kill) Internet Explorer and 360 browser 2, Ctrl+f12 Show just hidden window 3, hold down the right mouse button scroll wheel, can adjust the volume size 4, Ctrl+up, Ctrl+down, can also adjust the volume size 5, the bottom right corner program icon masquerading as "My Computer" icon to close the program only through the Task Manager end the process */# NOENV #SingleInstance Force menu, Tray, Icon, Shell32.dll, menu, Tray, Tip, My Computer menu, Tray, Nostandard Settitlematchmo DE, 2;--------------------------------------Groupadd, Myhide, Ahk_class IEFrame groupadd, myhide, Ahk_class 360se5_fra Me Groupadd, Myhide, Ahk_class 360se6_frame groupadd, Myhide, greenbrowser;//Add Groupadd, Myhide, other window titles by yourself;----------- ---------------------------Return *mbutton:: Soundset, 0 if (A_thishotkey=a_priorhotkey) and (a_timesincepriorhotkey&  lt;400) Doubleclick:=1 Else doubleclick:=0 SetTimer, dohide, -400 Sleep, Return dohide:if DoubleClick {Gosub,
    Tip SetTimer, Tip, SetTimer, TipOff, -2000 detecthiddenwindows, on Loop {ifwinexist, Ahk_group myhide
    {winget, PID, PID  Process, Close,%pid% process, waitclose,%pid%, 0.5} else break} Return} detecthiddenwindows, Off

Loop {ifwinexist, ahk_group myhide {winhide, ahk_group myhide Sleep, or else break} Click, M Return
Tip:tooltip, Middle key double click success. Return Tipoff:settimer, Tip, Off ToolTip return ^f12::winshow, Ahk_group myhide ~rbutton & wheelup:: ^up::sounds ET, +2 ~rbutton & Wheeldown:: ^down::soundset,-2;------Script Complete--------

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.