看板 EzHotKey 關於我們 聯絡資訊
switch:=1 ;以Ctrl+Q作為切換 ^q:: global switch switch*=-1 if (switch=1){ Msgbox ^e & ^f : on }else{ Msgbox ^e & ^f : off } return ^a::Msgbox ^a ^b::Msgbox ^b ^c::Msgbox ^c ^d::Msgbox ^d #if switch=1 ^e::Msgbox ^e ^f::Msgbox ^f #if ----- Sent from JPTT on my Asus ASUS_X01BDA. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 49.214.244.141 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/EzHotKey/M.1561596858.A.24F.html ※ 編輯: papple23g (49.214.244.141 臺灣), 06/27/2019 08:55:18 ※ 編輯: papple23g (49.214.244.141 臺灣), 06/27/2019 08:55:56
zi98btcc: 感謝真的可以,關鍵在 #if語法,官網有可以查詢嗎?06/27 13:05
papple23g: 有的 請參考 https://bit.ly/2KMsg9p06/27 13:16
※ 編輯: papple23g (49.214.244.141 臺灣), 06/27/2019 13:17:05