右鍵任務欄上的一個窗口, 在彈出菜單之後, 按下字母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 ###############################