Como pode remapear [para {e {para [com AutoHotKey

2

Eu quero mudar a chave { com [, então eu não preciso mais usar o Shift para fazer { e eu tenho que usar a tecla Shift para fazer [ ...

mesma pergunta para trocar , para < e vice-versa.

Eu sei apenas como fazer a primeira parte funcionar:

[:: {

No entanto, a comutação { com [ não funciona quando eu tento o seguinte:

{:: [

Como insiro a tecla Shift ?

    
por jimmym715 07.03.2013 / 15:45

1 resposta

3

Deixe-me saber se é isso que você quer?
[ - > { e { - > ]

#SingleInstance Force
#installKeybdHook
#Persistent

; Prefix the hotkeys with $ to prevent one hotkey from launching the other hotkey in a loop!

; + is the shift key, so +[ is {

;==== Switch [ AND { ====
$[::Send, {{}
$+[::Send, {[}

;====Switch ] AND } ====
$]::Send, {}}
$+]::Send, {]}

;====Switch , AND < ====
$,::Send, <
$+,::Send, {,}

;====Switch . AND > ====
$.::Send, >
$+.::Send, .
    
por 07.03.2013 / 17:14

Tags