[AHK-] Re: [AHK-] 修改為部分有效熱鍵

看板EzHotKey作者 (逆道者)時間6年前 (2019/06/27 08:54), 6年前編輯推噓1(101)
留言2則, 2人參與, 6年前最新討論串1/1
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

06/27 13:05, 6年前 , 1F
感謝真的可以,關鍵在 #if語法,官網有可以查詢嗎?
06/27 13:05, 1F

06/27 13:16, 6年前 , 2F
有的 請參考 https://bit.ly/2KMsg9p
06/27 13:16, 2F
※ 編輯: papple23g (49.214.244.141 臺灣), 06/27/2019 13:17:05
文章代碼(AID): #1T51Ew9F (EzHotKey)
文章代碼(AID): #1T51Ew9F (EzHotKey)