精華區beta EzHotKey 關於我們 聯絡資訊
※ 引述《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