SetTitleMatchMode, 2 ; 中間一致 ; http://d.hatena.ne.jp/monk_saruhobo/20050712/p1 ; https://sites.google.com/site/agkh6mze/howto/detect_window $^p:: if ( WinActive("ahk_class SunAwtFrame") ) { WinActivate, Unity Sleep, 500 Send, ^p return } else { Send, ^p } return ;hoge-project - [C:\Users\hoge\hoge.sln] - Hoge.cs - Rider 1.0 EAP ;ahk_class SunAwtFrame ;ahk_exe rider64.exe