--- In [email protected], Slawomir Nowaczyk <[EMAIL PROTECTED]> wrote: > On Thu, 04 Aug 2005 13:34:27 +0000 > swzoh <[EMAIL PROTECTED]> wrote: > > #> 2) AutoHotkey (:LL Hook) > #> It indeed eats up both KeyDown & KeyUp events of the hotkey. The > #> trick here seems to send extra Ctrl key at KeyUp of the modifier > #> key, if the modifier key is 'Win' or 'Alt', I mean, when the > #> modifier key is released, the messages are: KeyDown of 'Ctrl' > > #> KeyUp of 'Ctrl' > KeyUp of 'Win(or Alt)' > > Thank you very much :) > > I didn't have much time to test, but from my preliminary experiments > it seems that adding: > Keytrap.SendKeys(29,162,0) > Keytrap.SendKeys(29,162,1) > to the end of a script executed by Keytrap on <windows>+<a> hotkey > does indeed prevent Start menu from opening... nice idea :)
I think it'd be safer to put them at the start of the script if doing this in a script way. Well, usually won't matter, but will certainly affect the outcome if the script is long and/or especially if it contains 'wait'. BTW, KeyTrap needs this kind of extra tweak because it's faster than the system, somewhat ironically, like AutoHotkey. As far as I can tell, the fast order to captute the key events is: LL Hook > System > Global Hook (I don't really know, but I suspect KeyTrap/MouseTrap uses LL Hook in an NT-based OS.) I suppose that PP doesn't have this symptom as PP uses RegisterHotkey, where the key processing is done by System itself, and/or the Global Hook, where the keys are already filtered through System before processed and eaten by the Hook. Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hi3kpg1/M=362335.6886445.7839731.1510227/D=groups/S=1706030409:TM/Y=YAHOO/EXP=1123258618/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</a>.</font> --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
