Last active
June 6, 2017 10:52
-
-
Save xcodebuild/38e169b9cd02a77b216a10b47f68e29f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Switch(window, exe) { | |
IfWinActive, %window% | |
WinMinimize, %window% | |
else | |
IfWinNotExist, %window% | |
Run, %exe% | |
else | |
WinActivate, %window% | |
} | |
!c::Switch("ahk_exe chrome.exe", "C:\Users\codefalling\AppData\Local\CentBrowser\Application\chrome.exe") | |
!q::Switch("ahk_exe QQ.exe", "C:\Program Files (x86)\Tencent\QQ\Bin\QQScLauncher.exe") | |
!n::Switch("ahk_class ENMainFrame", "C:\Program Files (x86)\Evernote\Evernote\Evernote.exe") | |
!e::Switch("ahk_exe Code.exe", "C:\Program Files (x86)\Microsoft VS Code\Code.exe") | |
!d::Switch("ahk_exe DingTalk.exe", "C:\Program Files (x86)\DingDing\main\current\DingTalk.exe") | |
!t::Switch("ahk_class VirtualConsoleClass", "C:\Users\codefalling\app\cmder\Cmder.exe") | |
!w::Switch("ahk_class WeChatMainWndForPC", "C:\Program Files (x86)\Tencent\WeChat\WeChat.exe") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment