MisterZakary
4/11/2018 - 9:36 AM

排除特定窗口最小化当前窗口

排除特定窗口最小化当前窗口

;***************************************
;除特定窗口外使用#c最小化当前窗口
;**************************************
GroupAdd, minExclude, ahk_class Progman
GroupAdd, minExclude, ahk_class Shell_TrayWnd
GroupAdd, minExclude, ahk_class DV2ControlHost
GroupAdd, minExclude, ahk_class SysListView32
GroupAdd, minExclude, ahk_class Button


#IfWinNotActive, ahk_group minExclude
#c::
    WinMinimize, A
Return
#IfWinNotActive

;***************************************
;Scite热键修改
;**************************************
#IfWinActive ahk_exe SciTE.exe
CapsLock::
SendInput,^{Enter}
return
#IfWinActive