| View previous topic :: View next topic |
| Author |
Message |
bbint
Joined: 17 Sep 2008 Posts: 19
|
Posted: Wed Sep 17, 2008 7:01 pm Post subject: AppsKey::LButton gets stuck after I select things |
|
|
Is this ever an issue for people who try to remap a keyboard button to a mouse button?
 |
|
| Back to top |
|
 |
Serenity
Joined: 07 Nov 2004 Posts: 1271
|
Posted: Wed Sep 17, 2008 8:53 pm Post subject: |
|
|
You could try:
| Code: | AppsKey::LButton
AppsKey Up::Send, {LButton Up} |
_________________ "Anything worth doing is worth doing slowly." - Mae West
 |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
Posted: Wed Sep 17, 2008 8:59 pm Post subject: |
|
|
works for me in all respects: single/double click and clickdrag highlight and clickdrag move.
Another program might be trying to hook that key *shrug*. Maybe the appskey's up event is getting through somehow. Anyways, see if | Code: | $*Appskey::
SetMouseDelay, -1
Sendmode, play
If !GetKeyState("LButton")
Click down
return
$*Appskey Up::Click up | is any better. _________________ Ternary (a ? b : c) guide TSV Table Manipulation Library
Post code inside [code][/code] tags! |
|
| Back to top |
|
 |
bbint
Joined: 17 Sep 2008 Posts: 19
|
Posted: Thu Jan 01, 2009 8:46 am Post subject: |
|
|
I figured it out.. it was my use of the Ctrl button
| Code: | Appskey::Send {LButton}
RCtrl::Send {RButton} |
Sometimes, for some reason, Ctrl gets activated
If you hold down Ctrl and press the left mouse button, you can keep highlighting multiple items
On occasion, Ctrl would execute and be stuck down even though Ctrl is supposed to perform a right-click
I use this to release Ctrl whenever this happens:
| Code: | Pause::
Send {Ctrl}
sleep 20
Send {LButton}
return |
|
|
| Back to top |
|
 |
|