Last active
January 5, 2017 05:48
-
-
Save bender-the-greatest/5ef4aabbc8f1de3d740dd01483b8110a to your computer and use it in GitHub Desktop.
Autohotkey script for ConEmu
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir C:\Projects ; Ensures a consistent starting directory. | |
^!t::GoSub, FocusOrStartConEmu | |
;; This will probably not act as intended if you have more than one ConEmu64 process running | |
FocusOrStartConemu: | |
if WinExist("ahk_exe ConEmu64.exe") | |
WinActivate | |
else | |
Run,%A_ProgramFiles%\ConEmu\ConEmu64.exe | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment