An NDoc Documented Class Library

Window.WaitForTopChildActive メソッド (String, Regex, Regex, Int32, Int32)

条件で指定された子ウィンドウがアクティブになるまで待機します。 タイムアウトした場合nullを返します。

public static Window WaitForTopChildActive(
   string sProcessName,
   Regex rClass,
   Regex rText,
   int iSameNum,
   int iMiliSeconds
);

パラメータ

sProcessName
プロセス名
rClass
ウィンドウクラス名(正規表現)
rText
ウィンドウテキスト(正規表現)
iSameNum
ウィンドウクラス名・ウィンドウテキストがマッチした子Windowの中で何番目のWindowか
iMiliSeconds
待機する最大秒数

戻り値

条件に合致した子Window

参照

Window クラス | FNF.WindowController 名前空間 | Window.WaitForTopChildActive オーバーロードの一覧