| View previous topic :: View next topic |
| Author |
Message |
rainagain
Joined: 12 Feb 2008 Posts: 4
|
Posted: Wed Feb 13, 2008 7:30 pm Post subject: What am I doing wrong? |
|
|
I'm using:
/::^m
to make the / key send ctrl+m
It works. But then I lose the ability to type a question mark, which is on the same / key.
rain |
|
| Back to top |
|
 |
BioBrain
Joined: 13 Feb 2008 Posts: 15 Location: Jakarta-Indonesia
|
Posted: Wed Feb 13, 2008 7:39 pm Post subject: |
|
|
try
~/:: ^m |
|
| Back to top |
|
 |
ManaUser
Joined: 24 May 2007 Posts: 906
|
Posted: Wed Feb 13, 2008 7:46 pm Post subject: |
|
|
That doesn't seem to make a difference. But this does:
|
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2737 Location: Australia, Qld
|
Posted: Thu Feb 14, 2008 5:34 am Post subject: |
|
|
See Remapping Keys and Buttons.
| Quote: | When a script is launched, each remapping is translated into a pair of hotkeys. For example, a script containing a::b actually contains the following two hotkeys instead:
| Code: | *a::
SetKeyDelay -1 ; If the destination key is a mouse button, SetMouseDelay is used instead.
Send {Blind}{b DownTemp} ; DownTemp is like Down except that other Send commands in the script won't assume "b" should stay down during their Send.
return
*a up::
SetKeyDelay -1 ; See note below for why press-duration is not specified with either of these SetKeyDelays.
Send {Blind}{b Up}
return
|
|
| Code: | ; this internally uses two hotkeys: */ and */ up
/::^m
; this does not use *
/::Send ^m |
| Hotkey wrote: | * Wildcard: Fire the hotkey even if extra modifiers are being held down.
|
If I may ask, where did you learn of the key::key (remap) syntax? This seems to be a recurring issue, and I'd like to know which part of the help file may be improved to make the solution more obvious... |
|
| Back to top |
|
 |
|