Re: [AHK-] 請教一個ahk_class的問題

看板EzHotKey作者 (張昱珩)時間15年前 (2010/05/15 00:58), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
1. 首先你要知道怎麼抓 class name: 可以用 AutoHotkey 附的 AutoIt3 Window Spy 看,第三行就是。 2. 範例: ;; 只會 run 一次 WinWait, ahk_class Notepad msgbox, Detected notepad. WinActivate, ahk_class Notepad ※ 引述《notlo》之銘言: : 作者: notlo (notlo) 站內: EzHotKey : 標題: [AHK-] 請教一個WinWaitActive的問題 : 時間: Wed May 12 06:08:45 2010 : 各位先進好: : 我想請教一個問題,以底下為例子.. : WinWait, winwait.txt - 記事本, : IfWinNotActive, winwait.txt - 記事本, , WinActivate, winwait.txt - 記事本, : WinWaitActive, winwait.txt - 記事本, : 我現在記事本是開啟winwait.txt這個檔案,但我每次開的檔案並不一定, : 那我要如何不管它現在開的是什麼檔案, : 只要記事本有執行,在WinWaitActive時就讓它WinActivate呢?? : 謝謝各位 -- ╭═ ███╰══════════════╮ ███ ███ ▉██ ▉██ ███ ███ ███ ███ ██▉ ▇▇█ ███ ███ ██▉ ▉██ █▉█ █▉█ ╰╮ ███ █▉█ █▉█ █▉█ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.42.212.54

05/23 07:12, , 1F
謝謝您的舉例說明,我又多學了一招了..
05/23 07:12, 1F
※ 編輯: IOann 來自: 211.21.127.209 (07/30 20:25)
文章代碼(AID): #1BxO4nXx (EzHotKey)
文章代碼(AID): #1BxO4nXx (EzHotKey)