精華區beta EzHotKey 關於我們 聯絡資訊
大家好, 目前我有一個IE視窗, 因為要做某個動作而必須(隔n秒)重複F5重整, 直到IE標題列改為[xxx]才停止重整, 或是直到標題不為[yyy]才停止重整。 請問這樣該怎麼實作呢? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.204.72.160 ※ 編輯: bestpika 來自: 123.204.72.160 (09/02 03:31) > -------------------------------------------------------------------------- < 作者: Lumania (小糠榔) 看板: EzHotKey 標題: Re: [AHK-] 抓視窗標題 時間: Tue Sep 2 10:15:34 2008 ※ 引述《bestpika (飛影‧忌子)》之銘言: : 大家好, : 目前我有一個IE視窗, : 因為要做某個動作而必須(隔n秒)重複F5重整, : 直到IE標題列改為[xxx]才停止重整, : 或是直到標題不為[yyy]才停止重整。 : 請問這樣該怎麼實作呢? : 謝謝 ifwinnotactive, ahk_class IEFrame winactivate, ahk_class IEFrame winwaitactive, ahk_class IEFrame, , 3 if errorlevel return loop { sleep n000 ; n is the interleaved seconds send {F5} ifwinactive, xxx ahk_class IEFrame ; xxx is the title of IE break ifwinnotactive, yyy ahk_class IEFrame ; yyy is the title of IE break } return -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 210.69.13.1
bestpika:大感謝!! 09/02 13:22
bestpika:對了 另外請問如果是firefox的標題那IEFreme要改成什麼? 09/02 17:07
bestpika: a 09/02 17:07
bestpika:我找到了MozillaUIWindowClass 09/02 17:12