why altgr+p doesn't work, AUTOHOTKEY

Posted by voodoomsr on Super User See other posts from Super User or by voodoomsr
Published on 2010-12-03T00:40:06Z Indexed on 2010/12/21 15:57 UTC
Read the original article Hit count: 254

Filed under:

Hi guys, i try and i try to find the bug in this script but i can't . Maybe some of you can give me a hint... Problem. When i press altgr&p it suppose that the Delete key is triggered, but the weird thing is that after one succesfull delete, if i continue pressing altgr&p appears the p, and the delete isn't triggered anymore. in the meantime i test other solution move to the right and then delete with the backspace, that works, but when i have text selected this alternative isn't good.... here is the code

#InstallKeybdHook
;characters very used
RAlt & e::
SendInput []{Left}
Return
RAlt & w::
SendInput <>{Left}
Return
RAlt & d::
SendInput (){Left}
Return
RAlt & s::
SendRaw {}
SendInput {Left}
Return
RAlt & x::
SendInput ""{Left}
Return
RAlt & c::
SendInput ''{Left}
Return
RAlt & f::
SendInput *
Return
RAlt & r::
SendRaw +
Return
RAlt & v::
SendInput -
Return
;comienzo y fin de linea
RAlt & a::
SendInput {Home}
Return
RAlt & z::
SendInput {End}
Return


;movimientos InEditon
/*
RAlt & p::
SendInput {Right}{BackSpace}
Return 
*/


<^>!p::
Send {Del}
Return 


RAlt & o::
SendInput {Up}
Return
RAlt & l::
SendInput {Down}
Return
RAlt & k::
SendInput {Left}
Return
RAlt & ñ::
SendInput {Right}
Return
RAlt & ,::
SendInput {Enter}
Return
RAlt & i::
SendInput {BackSpace}
Return

;; clipx
^mbutton::
 sendinput ^+{insert}
Return



^+k::^+Left
+k::+Left
^k::Left
+l::+Down
^+l::^+Down
^l::^Down
+ñ::+Right
^+ñ::^+Right
^ñ::^Right
+o::+Up
^+o::^+Up
^o::^Up
+a::+Home
^+a::^+Home
+z::+End
^+z::^+End

© Super User or respective owner

Related posts about autohotkey