| View previous topic :: View next topic |
| Author |
Message |
VVS Guest
|
Posted: Sat Mar 15, 2008 4:42 am Post subject: [remap key] "CTRL+SHIFT+P" to "P" ONLY |
|
|
hi,
I have a remote controller, and the play button outputs ctrl+shift+P.
I want this play button action to be remapped to output only “P”. (not ctrl+shift)
I use the following script line:
^+VK50::Send, {VK50}
However, I cannot seem to remove the output of CTRL and SHIFT keys.
Is this possible?
thanks. |
|
| Back to top |
|
 |
ManaUser
Joined: 24 May 2007 Posts: 901
|
Posted: Sat Mar 15, 2008 6:48 am Post subject: |
|
|
This will probably do what you need:
|
|
| Back to top |
|
 |
VVS Guest
|
Posted: Sat Mar 15, 2008 4:25 pm Post subject: still not working ... |
|
|
hi ManaUser,
i tried your code:
^+p::Send p
but this does the same as what i had...it outputs ctrl+shift+p
for some reason, the ctrl+shift keys are not being recognized by autohotkey.
the remote controller is using the LEFT shift and LEFT ctrl...
if ^ and + is generic, how do i specify LEFT?
please any help is appreciated.
thanks. |
|
| Back to top |
|
 |
ManaUser
Joined: 24 May 2007 Posts: 901
|
Posted: Sat Mar 15, 2008 5:32 pm Post subject: Re: still not working ... |
|
|
You can specify left or right be prefixing < or > to ^ or +, but I don't think that will fix the problem. Try this, for diagnostic purposes:
If you see the message box, then you'll know it's at least being detected and can take it from there. |
|
| Back to top |
|
 |
Kellianjaxon
Joined: 05 Jan 2008 Posts: 39
|
Posted: Sat Mar 15, 2008 11:59 pm Post subject: |
|
|
Try this:
| Code: | ^+p:: Send, {Control up}{Shift up}p
|
|
|
| Back to top |
|
 |
Lurker1457
Joined: 10 Mar 2008 Posts: 11
|
Posted: Sun Mar 16, 2008 12:03 am Post subject: |
|
|
maybe: | Code: | <^<+p::
Keywait, Ctrl
KeyWait, Shift
Send, p
SoundBeep, 522, 50 ; remove this if you ever hear it...
return |
|
|
| Back to top |
|
 |
VVS Guest
|
Posted: Sun Mar 16, 2008 3:39 am Post subject: suggestions not working... |
|
|
hello gentlemen,
i have tried all of your suggestions, and the CTRL + SHIFT keys are always outputting.
i am able to change the letter p to another letter and output it, but CTRL+SHIFT are always there.
is there any other way of disabling CTRL + SHIFT keys?
can i remap just these keys to do nothing! ?
thanks again. |
|
| Back to top |
|
 |
VVS Guest
|
Posted: Sun Mar 16, 2008 4:48 am Post subject: found something that works |
|
|
hi,
the following will output only P for me....thanks!
LShift::Return
LCtrl::Return
^+p::Send, p |
|
| Back to top |
|
 |
|