 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
stutter
Joined: 13 Feb 2008 Posts: 11
|
Posted: Wed Feb 13, 2008 9:19 pm Post subject: Mouse: custom combination defeats hotkey |
|
|
So, I may just be tired and have fundamentally misunderstood something. I have a multi-button mouse, and would like to be ablt to use one of the side buttons in certain programs as a modifier key for other buttons on the mouse, while also having a function of its own.
For example, in Cubase, alone I would like Alt, but in concert with the mousewheel I would like to zoom (g and h in Cubase's keyboard shortcuts). Here's what I thought would do the trick:
| Code: | #IfWinActive, Cubase SX
Xbutton1::Ctrl
Xbutton2::Alt
XButton2 & ~WheelDown::Send, {g}
XButton2 & ~WheelUp::Send, {h} |
but while the combinations work, this seems to defeat the intial remaping.
So, where am I going wrong? |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 7295 Location: Australia
|
Posted: Thu Feb 14, 2008 5:47 am Post subject: Re: Mouse: custom combination defeats hotkey |
|
|
| stutter wrote: | but while the combinations work, this seems to defeat the intial remaping.
So, where am I going wrong? | See Custom Combinations.
| Quote: | | The presence of one of the above hotkeys causes the release of [the prefix key] to perform the indicated action, but only if you did not press any other keys while [the prefix key] was being held down. |
|
|
| Back to top |
|
 |
stutter
Joined: 13 Feb 2008 Posts: 11
|
Posted: Fri Feb 15, 2008 12:09 pm Post subject: |
|
|
thanks for the replies. LexiKos, I'd tried that and it wasn't working, and I could not understand why. However, I've just realised my autohotkey script is not responding to XButton2, which was the cause of my problems... just have to figure out why now.
edit: conflict in the script, sorted, oops... |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|