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 

tilde (~) implicitly applies to * variants

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Lexikos



Joined: 17 Oct 2006
Posts: 2472
Location: Australia, Qld

PostPosted: Sat Jul 14, 2007 4:51 am    Post subject: tilde (~) implicitly applies to * variants Reply with quote

The following script demonstrates:
Code:
; this #IfWin doesn't help...
#IfWinActive ahk_class Notepad

*Left::
    SoundPlay, *-1
    return

#IfWinActive Some window which couldn't possibly exist.
~Left::
    KeyHistory
    return

Pressing 'Left' triggers the *Left hotkey, but does not block the native function of 'Left'. This only happens when:
  • The ~Left hotkey exists (though it is disabled via #IfWin.)
  • You are not holding a modifier key.
  • The hotkey has the "*" modifier.

Note that the ~Left hotkey never fires.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10464

PostPosted: Sat Jul 14, 2007 2:24 pm    Post subject: Reply with quote

Thanks; this will be fixed in the next update.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports 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