YanoRyuichi.com/
Wiki
Blog
GitHub
Sandbox
開始行:
* 複数ウィンドウのコマンドプロンプトをCTRL-TABで切り替え...
#IfWinActive ahk_class ConsoleWindowClass
^tab::
winget, id, list, ahk_class consolewindowclass
loop, %id%
{
stringtrimright, this_id, id%a_index%, 0
id_list%a_index% = %this_id%
}
if (id >= 1) {
_id := id_list%id%
winactivate, ahk_id %_id%
}
return
#IfWinActive
終了行:
* 複数ウィンドウのコマンドプロンプトをCTRL-TABで切り替え...
#IfWinActive ahk_class ConsoleWindowClass
^tab::
winget, id, list, ahk_class consolewindowclass
loop, %id%
{
stringtrimright, this_id, id%a_index%, 0
id_list%a_index% = %this_id%
}
if (id >= 1) {
_id := id_list%id%
winactivate, ahk_id %_id%
}
return
#IfWinActive
ページ名: