 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Fri Feb 18, 2005 11:18 pm Post subject: Bug in recent fix? |
|
|
The recent fix you made to prefixes (in which tilde hotkeys imply tildes on their prefix counterparts, and vice versa) has apparently caused a bug, or maybe I'm just missing something here:
| Code: | space & tab::send,{backspace}
space & capslock::send,{enter}
*space::send,{space} |
This being part of my old half-keyboard script. I recently noticed hotkeys like Alt + Space no longer work with it active, so I tried adding the asterisk. Instead of making it work with modifiers, it sent space twice as if it were a pass-through, and the really boggling part was that it didn't activate Alt+Space (it's universal for system menu), even though alt was being held down and spaces were sent.
With no directives, it merely activates the menubar on Alt+Space (as if just Alt were sent). This isn't unusual, though. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sat Feb 19, 2005 1:17 am Post subject: |
|
|
I tried the above with some old versions, as far back as 1.0.12. Alt+Space doesn't appear to work on any version. Do you know for certain that it worked on an old version?
In any case, adding the following line appears to be a work-around:
LAlt & Space::Send {Alt Down}{Space}
The reason it behaves this way is that normal (non-tilde) prefix keys, such as Space in these examples, are suppressed (hidden from the system) even if a modifier such as Alt is down when they are pressed. The other part of the cause is probably that "Send {Space}" will probably put the Alt key into the up position before sending the space character. This is because "Send" is unaware that it's being used inside a wildcard hotkey. |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Sat Feb 19, 2005 3:23 am Post subject: |
|
|
| No, I've only tried it with this version. Thanks for clarifying the behavior of Send, I'll use the work-around you mentioned for that and any other space hotkeys I need. |
|
| 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
|