| View previous topic :: View next topic |
| Author |
Message |
Roland
Joined: 08 Jun 2006 Posts: 238
|
Posted: Sun Aug 05, 2007 8:48 pm Post subject: Problem with UP modifier in hotkeys |
|
|
The following hotkey prevents other hotkeys involving the Control key from working (for instance, Ctrl+S won't work anymore in my editor etc...).
| Code: | #IfWinActive SomeWindow
LCtrl UP::msgbox |
Surely it should have no effect unless the window from #IfWinActive is actually active?
The problem seems to be the UP, just Ctrl works fine.
I just tested with Alt UP, and the same problem occurs. |
|
| Back to top |
|
 |
Ian
Joined: 15 Jul 2007 Posts: 1151 Location: Enterprise, Alabama
|
Posted: Sun Aug 05, 2007 11:50 pm Post subject: |
|
|
Shouldn't it be
| Code: | WinActive, SomeWindow
LCtrl UP::Msgbox |
Because the only #win is #WinActivateForce, and I don't think that's what this is used for. _________________ ScriptPad/~dieom/dieom/izwian2k7/Trikster/God |
|
| Back to top |
|
 |
Superfraggle
Joined: 02 Nov 2004 Posts: 774 Location: London, UK
|
Posted: Sun Aug 05, 2007 11:58 pm Post subject: |
|
|
no the original is correct
the workaround would be to add | Code: | #ifwinactive
Lctrl::send ^ |
Least i think that should work. _________________ Steve F AKA Superfraggle
http://r.yuwie.com/superfraggle |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Mon Aug 06, 2007 8:41 pm Post subject: |
|
|
Thanks for the report. This will be fixed in the next update.
As a temporary workaround, adding the following hotkey seems effective:
| Code: | #IfWinActive SomeWindow
LCtrl UP::msgbox
~LCtrl::return |
|
|
| Back to top |
|
 |
Roland
Joined: 08 Jun 2006 Posts: 238
|
Posted: Mon Aug 06, 2007 9:27 pm Post subject: |
|
|
Thanks.  |
|
| Back to top |
|
 |
|