[AHK-] IF ELSE 裡可以使用變數判斷按下次數嗎?
原本ELECOM滑鼠的軟體就有能自訂按鍵功能
我設定了兩個按鍵,用做放大鏡的開啟及關閉
按鍵5: Win + Numpad+
按鍵6: Win + Esc
但微軟滑鼠的軟體只用一鍵就能做到
剛開始查看AHK的資料
想問看看能不能寫成單用按鍵5就行
例如
Bool bClicked = FALSE;
LBUTTON:
IF bClicked == FALSE THEN
bClicked = TRUE;
Win + Numpad+;
ELSE
bClicked = FALSE;
Win + Esc;
ENDIF
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.234.119.249
※ 文章網址: https://www.ptt.cc/bbs/EzHotKey/M.1466305767.A.035.html
推
06/19 11:50, , 1F
06/19 11:50, 1F
→
06/19 11:50, , 2F
06/19 11:50, 2F
→
06/19 11:50, , 3F
06/19 11:50, 3F
→
06/19 11:50, , 4F
06/19 11:50, 4F
→
06/19 11:51, , 5F
06/19 11:51, 5F
→
06/19 11:51, , 6F
06/19 11:51, 6F
→
06/20 01:18, , 7F
06/20 01:18, 7F
→
06/20 01:18, , 8F
06/20 01:18, 8F
推
06/20 12:58, , 9F
06/20 12:58, 9F
→
06/20 12:59, , 10F
06/20 12:59, 10F
→
06/20 13:00, , 11F
06/20 13:00, 11F
→
06/20 13:00, , 12F
06/20 13:00, 12F
→
06/20 13:00, , 13F
06/20 13:00, 13F
→
06/20 16:21, , 14F
06/20 16:21, 14F
→
06/20 16:21, , 15F
06/20 16:21, 15F
→
06/20 16:23, , 16F
06/20 16:23, 16F
→
06/20 16:24, , 17F
06/20 16:24, 17F
→
06/20 16:24, , 18F
06/20 16:24, 18F
→
06/20 16:25, , 19F
06/20 16:25, 19F
→
06/20 16:26, , 20F
06/20 16:26, 20F
→
06/20 16:28, , 21F
06/20 16:28, 21F
→
06/20 16:29, , 22F
06/20 16:29, 22F
推
06/20 16:46, , 23F
06/20 16:46, 23F
→
06/20 16:46, , 24F
06/20 16:46, 24F
推
06/20 16:58, , 25F
06/20 16:58, 25F
→
06/20 16:58, , 26F
06/20 16:58, 26F
→
06/20 16:58, , 27F
06/20 16:58, 27F
→
06/20 16:59, , 28F
06/20 16:59, 28F
→
06/20 16:59, , 29F
06/20 16:59, 29F
→
06/20 17:35, , 30F
06/20 17:35, 30F
→
06/20 17:35, , 31F
06/20 17:35, 31F
→
06/20 17:35, , 32F
06/20 17:35, 32F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
EzHotKey 近期熱門文章
PTT數位生活區 即時熱門文章