[AHK-] 只對指定程式生效

看板EzHotKey作者 ( )時間1年前 (2022/09/03 10:48), 1年前編輯推噓1(102)
留言3則, 3人參與, 1年前最新討論串1/1
#IfWinActive ahk_exe firefox.exe #IfWinActive ahk_exe chrome.exe s::Down r::PgUp f::PgDn g::End t::Home q::MButton !e::Suspend 請問如何才能讓兩個都生效且不影響其他程式 目前執行結果只對 chrome.exe 有作用 https://ahkcn.github.io/docs/misc/WinTitle.htm https://ahkcn.github.io/docs/commands/WinActive.htm -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 218.173.113.8 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/EzHotKey/M.1662173320.A.E32.html ※ 編輯: flyau (218.173.113.8 臺灣), 09/03/2022 10:53:52 bhbbbbb: #IF WinActive("ahk_exe a.exe") || WinActive("ahk_exe 09/03 13:57 @ 以上紅底標記1位,每人200P(稅後)發送完成! by PTT Star 3.3.3

09/03 13:57, 1年前 , 1F
b.exe")
09/03 13:57, 1F
※ 編輯: flyau (218.173.97.185 臺灣), 09/03/2022 21:58:49

09/03 21:58, 1年前 , 2F
感謝解惑
09/03 21:58, 2F

09/09 12:35, 1年前 , 3F
推推
09/09 12:35, 3F
文章代碼(AID): #1Z4i28uo (EzHotKey)
文章代碼(AID): #1Z4i28uo (EzHotKey)