AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mapping 2 keys to one: remap trick but lose auto-repeat

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
fsnow55



Joined: 08 Jun 2006
Posts: 19

PostPosted: Fri Aug 08, 2008 3:19 pm    Post subject: Mapping 2 keys to one: remap trick but lose auto-repeat Reply with quote

I'm trying to do this:

Right & PgUp::send {Volume_Up}

; keymap below is to reset original functionality to Right arrow
; if it's missing, I lose the use of Right arrow, which is counter-intuitive
; as my original remapping is just for it's use "in combination" with another
; key. That use shouldn't modify it's original "solitary key" mapping. Anyway,
;

Right::Send {Right down}


Although the sequences work, the Right arrow autorepeat is lost ie.. cursor doesn't move right if Right arrow is pressed down continuously i.e. only move one char right per Right arrow. The docs indicated that auto-repeats are there by default.


Help!

Thanks,
fsnow55
Back to top
View user's profile Send private message
vahju



Joined: 17 Feb 2008
Posts: 97

PostPosted: Fri Aug 08, 2008 5:33 pm    Post subject: Reply with quote

Try

Code:
~Right & PgUp::send {Volume_Up}
Back to top
View user's profile Send private message
fsnow55



Joined: 08 Jun 2006
Posts: 19

PostPosted: Fri Aug 08, 2008 6:18 pm    Post subject: Reply with quote

vahju:
~Right & PgUp::send {Volume_Up}



Vahju, it still didn't behave as I needed. Try pressing the Right arrow after running the above. Compare with the Left arrow's behavior (notice the difference in auto-repeats).


Thanks,
fsnow55
Back to top
View user's profile Send private message
fsnow55



Joined: 08 Jun 2006
Posts: 19

PostPosted: Fri Aug 08, 2008 6:38 pm    Post subject: Reply with quote

vahju, please disregard my prev. comment. It worked! (I'd inadvertently left another key-mapping pgm running which was interfering with your function).



Thanks a bunch.
fsnow55
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group