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 

1.0.2.5 drawback

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



Joined: 15 Jan 2005
Posts: 9

PostPosted: Mon Jan 17, 2005 3:08 am    Post subject: 1.0.2.5 drawback Reply with quote

Many features of new version is great, but the new way to handle the Win keys have a problem. Many hotkeys I have to rewrite to prevent the unwanted Taskbar Menu poping up.
It occurs when using the hooked (or un-hooked since I haven't try it yet) mouse button with modified by Win key.

try this code:

Code:

$#LButton::
   do any thing or nothing
   return


when I pressing the Win + LeftButton, the TaskBar Menu continuously.
_________________
I'll pick my own name, and my own life.
So I can live my own life in my own way.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10464

PostPosted: Mon Jan 17, 2005 11:20 pm    Post subject: Re: 1.0.2.5 drawback Reply with quote

Kijuto Riddle wrote:
the new way to handle the Win keys have a problem. Many hotkeys I have to rewrite to prevent the unwanted Taskbar Menu poping up.
I believe this problem occurs in all versions of AutoHotkey (not just v1.0.25) when the keyboard hook isn't installed. Thanks to you, this has been fixed for the next update. In the meantime, add the following line at the top of your script:

#InstallKeybdHook
Back to top
View user's profile Send private message Send e-mail
KijutoRiddle
Guest





PostPosted: Tue Jan 18, 2005 2:29 pm    Post subject: Reply with quote

Sorry, I failed in generalizing all the circumstances. So I will give you a specified script, and let you do the rest:

Code:

#InstallMouseHook force
$#LButton::
   Send {Home}
   return


Hold the Win key, double click, and you will see what you don't want to see. sometime it happens even with a single click...
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10464

PostPosted: Tue Jan 18, 2005 3:11 pm    Post subject: Reply with quote

Yes, I think that's true on all versions. You need to add the following line to fix it:

#InstallKeybdHook

You can remove #InstallMouseHook since that does nothing in this case.
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