Skip to content

Instantly share code, notes, and snippets.

@takaiwa
Created May 15, 2015 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takaiwa/9876b40d94f24cc12c9e to your computer and use it in GitHub Desktop.
Save takaiwa/9876b40d94f24cc12c9e to your computer and use it in GitHub Desktop.
AutoHotkey.ahk
;-------------------------------------------------
; Operaを表示
;-------------------------------------------------
#o::
SetTitleMatchMode, 2 ; 中間一致
IfWinExist - Opera
{
WinActivate
}
else
{
Run "C:\Program Files (x86)\Opera\launcher.exe"
}
return
;-------------------------------------------------
; Androidデバッグ(Virtual Boxとログの表示)
;-------------------------------------------------
#v::
SetTitleMatchMode, 2 ; 中間一致
IfWinExist androVM
{
WinActivate
}
IfWinExist DDMS
{
WinActivate
}
return
;-------------------------------------------------
; Janetterの表示
;-------------------------------------------------
#j::
IfWinExist Janetter
{
WinActivate
}
else
{
Run "C:\Program Files (x86)\Janetter2\bin\Janetter.exe"
}
return
;-------------------------------------------------
; 参考
;-------------------------------------------------
;AutoHotkeyを流行らせるページ
; http://ahk.xrea.jp/index.html
;ウィンドウの指定
; http://ahk.xrea.jp/Window.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment