Created
May 8, 2015 15:13
-
-
Save sl5net/b64459d88bbcdeb04a97 to your computer and use it in GitHub Desktop.
Map AltGr+7 to Strg+Alt+7 ... Shortcuts for Jetbrains IDE
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
#IfWinActive,ahk_class SunAwtFrame | |
^>!7:: ; AltGr + 7 | |
useCase:=1 | |
if(useCase == 2) | |
{ | |
; dont work | |
Suspend,on | |
Send,{Blind} | |
Send,{CtrlDown}!{{} ; works | |
;~ Send,{ | |
Send,{CtrlUp} | |
Send,{Blind} | |
Suspend,off | |
} | |
if(useCase == 1) | |
{ | |
Suspend,on | |
Send,{Blind} | |
Send,{CtrlDown}{AltDown} | |
Send,{{} ; works | |
;~ Send,{ | |
Send,{Alt Up}{CtrlUp} | |
Send,{Blind} | |
Suspend,off | |
} | |
return | |
^>!0:: ; catches AltGr + 0 | |
useCase:=1 | |
if(useCase == 1) | |
{ | |
Suspend,on | |
Send,{Blind} | |
Send,{CtrlDown}{AltDown} | |
Send,{}} ; works | |
;~ Send,{ | |
Send,{Alt Up}{CtrlUp} | |
Send,{Blind} | |
Suspend,off | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment