[AHK-] 按下滑鼠左右鍵後不要跳出選單

看板EzHotKey作者 (奔跑的蝸牛)時間13年前 (2010/12/13 01:28), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
(OS是XP) http://www.dumpt.com/img/viewer.php?file=thhlhao66b1tcj82v3oc.jpg
如圖 在taskbar依序按下滑鼠左鍵跟右鍵後 會執行一段程式 我希望執行後不要跳出圖中的選單 但查了官網文件頗久還是不知道怎麼做 請問有人可以給我一點提示嗎 謝謝~ 程式碼大概長這樣: ~LButton & ~RButton:: CoordMode, Mouse, Screen MouseGetPos, , , this_id WinGetClass, ClassName , ahk_id %this_id% if (ClassName = "Shell_TrayWnd"){ ; 略 } return -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.32

12/13 03:49, , 1F
想想:熱鍵前綴的符號~ 是做什麼用的。
12/13 03:49, 1F
謝謝...解決了 加了tilde(~)會讓OS接收到該按鍵 所以把tilde去掉即可 也就是把 ~LButton & ~RButton:: 改成 LButton & RButton:: ※ 編輯: Holocaust123 來自: 140.112.30.32 (12/13 05:25)
文章代碼(AID): #1D1GPIX1 (EzHotKey)