Created
September 18, 2008 21:46
-
-
Save tekkub/11489 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
| Capslock:: | |
| if WinExist("ahk_class Chrome_XPFrame") | |
| { | |
| WinActivate | |
| WinWaitActive | |
| Send, ^t | |
| } | |
| else | |
| { | |
| EnvGet, USERPROFILE, USERPROFILE | |
| Run "%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" --no-sandbox | |
| WinWait, ahk_class Chrome_XPFrame | |
| Send, ^t | |
| } | |
| return | |
| +Capslock::Capslock ; Make shift-caps the real deal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment