Windows7: 右鍵任務欄上的一個窗口, 用快捷鍵c關閉它

右鍵任務欄上的一個窗口,  在彈出菜單之後, 按下字母c,

便可以關閉當前窗口,

 

這是xp風格的一個快捷鍵,

然而在windows7中, 這個快捷鍵失效了.

 

我是如此喜歡這個快捷鍵, 所以要用autohotkey模擬他.

這個功能對應的autohotkey腳本如下:

 

; #########################  Windows7/Win7 , Start ##############################

;right click form in taskbar, the press "c"  =>  close the form
;this is a xp shortcut, but dispear in win7
#IfWinActive ahk_class DV2ControlHost
c::
Send, {UP}{Enter}
return
#IfWinActive
; #########################  Windows7/Win7 , End ###############################

 

 

 

 

發佈了112 篇原創文章 · 獲贊 5 · 訪問量 3萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章