Created
March 2, 2017 12:07
-
-
Save katapad/ba6a3c76da1337cb80fde08521c59beb to your computer and use it in GitHub Desktop.
Rider上でCtrl + p すると Unity で RunしてくれるAutoHotKey
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment