ウィンドウのタイトルを変更
WinSetTitle, NewTitle WinSetTitle, WinTitle, WinText, NewTitle [, ExcludeTitle, ExcludeText]
引数名 | 説明 |
---|---|
WinTitle | ウィンドウタイトルなど。 ウィンドウ指定の方法参照。 |
WinText | ウィンドウに含まれるテキスト |
NewTitle | 新しいタイトルを指定 |
ExcludeTitle | 除外タイトル |
ExcludeText | 除外テキスト |
引き数を一つだけ指定すると、LastFoundWindowのウィンドウが引き数で指定したタイトルになる
WinMove, WinGetActiveStats, WinGetActiveTitle, WinGetText, ControlGetText, WinGetPos, WinSet
WinSetTitle, Untitled - Notepad, , This is a new title
; Alternate: Run, notepad.exe WinWaitActive, Untitled - Notepad WinSetTitle, This is a new title ; Uses the window found above by WinWaitActive