[AHK-] 如何使用兩個IfWinExist?

看板EzHotKey作者 (漫步在雲端)時間16年前 (2009/12/30 18:26), 編輯推噓0(003)
留言3則, 3人參與, 最新討論串1/1
今天剛研究AHK 不過剛用到ifwinexist就遇到難題了 想請問大家為什麼我只能執行到第一個檔案就沒有辦法執行到第二個檔案呢? 下面是我寫的 煩請大家指點一下^^" 麻煩各位了 ------------------------------------------------------------------------------ !0:: IfWinExist, GN_Lazy_Beta2.exe { winactivate } else { run C:\Users\Alan\Desktop\FarmVille_Harvest_Tree_Pet\GN_Lazy_Beta2.exe winwait GN_Lazy_Beta2.exe winactivate } IfWinExist, chrome.exe { winactivate } else { run C:\Users\Alan\AppData\Local\Google\Chrome\Application\chrome.exe winwait chrome.exe winactivate } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.43.11.214

12/31 01:11, , 1F
我記得win相關指令是打視窗的名稱
12/31 01:11, 1F

12/31 02:38, , 2F
help都有說明喔
12/31 02:38, 2F

01/04 02:26, , 3F
感謝K大的提醒^^
01/04 02:26, 3F
文章代碼(AID): #1BEohbUZ (EzHotKey)
文章代碼(AID): #1BEohbUZ (EzHotKey)