Skip to content

Instantly share code, notes, and snippets.

@maiha
Created October 23, 2019 10:00
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 maiha/42fc1e45b8accedbfd3152a4ea04696f to your computer and use it in GitHub Desktop.
Save maiha/42fc1e45b8accedbfd3152a4ea04696f to your computer and use it in GitHub Desktop.
^+a::
IfWinExist PuTTY
WinActivate
Else
Run,C:\Users\kazunori.nishi\app\putty-0.70-jp20170713\puttyjp.exe
return
^+b::
Process,Exist,chrome.exe
If ErrorLevel <> 0
WinActivate,ahk_pid %ErrorLevel%
Else ;起動していなかった場合
Run,chrome.exe ;chromeを起動する
return
^+e::
Process,Exist,EmEditor.exe
If ErrorLevel <> 0
WinActivate,ahk_pid %ErrorLevel%
Else
Run,EmEditor.exe
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment