WinSetTitle

提供: AutoHotkey Wiki
移動: 案内検索

実行制御 | GUI表示 | 演算・変数 | メモリ・DLL操作 | 文字列操作 | キーボード | マウス | シェル | ウィンドウ | ウィンドウグループ
ステータスバー | コントロール | サウンド | ファイル | INIファイル | レジストリ | 環境変数 | AutoHotkey | その他 | 設定関係 | オブジェクト

WinSetTitle[編集]

ウィンドウのタイトルを変更。

WinSetTitle, NewTitle
WinSetTitle, WinTitle, WinText, NewTitle [, ExcludeTitle, ExcludeText] 

Parameters[編集]

引数名 説明
WinTitle ウィンドウタイトルなど。
ウィンドウ指定の方法参照。
WinText ウィンドウに含まれるテキスト
NewTitle 新しいタイトルを指定
ExcludeTitle 除外タイトル
ExcludeText 除外テキスト

Remarks[編集]

引き数を一つだけ指定すると、LastFoundWindowのウィンドウが引き数で指定したタイトルになる

Related[編集]

WinMove, WinGetActiveStats, WinGetActiveTitle, WinGetText, ControlGetText, WinGetPos, WinSet

Example(s)[編集]

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