findWindowfindWindow(Ver2.11対応版)
目次Index−
スクリプトScript−
グローバルのメソッドGlobal method−
findWindow
findWindow( strClass, strTitle [, numOption] )
指定したクラス名とタイトルのウィンドウハンドルを取得します。(V1.52)
Get the window handle of the window that matches the class name or title.
- パラメータ1(文字列型)
-
ウィンドウのクラス名を指定します。
Window class name.
- パラメータ2(文字列型)
-
ウィンドウのタイトル(キャプション)を指定します。
Window title(caption).
- パラメータ3(数値型、省略可能)
-
指定しないか0の場合、Win32ApiのFindWindowと同じで、指定したクラス名とタイトルのウィンドウハンドルを返します。
1を指定した場合、クラス名またはタイトルの一部に一致するウィンドウのウィンドウハンドルを返します。
If 0, same as FindWindow of Win32API.
If 1, returns the window handle of the window that matches part of the class name or title.
- 返り値(数値型)
-
ウィンドウハンドルが返ります。
失敗した場合0が返ります。
Window handle.