Simulated key strokes - the number of times

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links or images until they have at least 4 posts.
greatxmouse
Member
Posts: 29
Joined: Wed Jul 29, 2020 5:45 pm

Re: Simulated key strokes - the number of times

Post by greatxmouse »

Now I got what's about the editor, and finally solved the issue - there was a conflict between AHK and X-mouse. I set the down arrow key as a chacarater in AHK so DOWN command worked as the character input in X-mouse. Further, for any keyboard input, X-mouse passes through AHK and for mouse input, AHK passes through X-mouse. Hope that it helps to anyone using both tools! Thanks.

User avatar
phil
Site Admin
Posts: 6543
Joined: Sun Apr 06, 2003 11:12 pm

Re: Simulated key strokes - the number of times

Post by phil »

For info, the order in which they pass through, will depend on which application loads first and installs their hook first - there is no way of controlling it in Windows, other than the MOST recently installed hook will receive the message first (I believe).

If XMBC reinstalls its hook (as it does for example when you logoff / logon again), that will be the most recent hook (NOTE: I don't know when AHK installs or re-installs its keyboard (and mouse) hooks.

Regards,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

greatxmouse
Member
Posts: 29
Joined: Wed Jul 29, 2020 5:45 pm

Re: Simulated key strokes - the number of times

Post by greatxmouse »

Hi Phil, when you say "applications", do you mean x-mouse and ahk, or apps on Windows?

User avatar
phil
Site Admin
Posts: 6543
Joined: Sun Apr 06, 2003 11:12 pm

Re: Simulated key strokes - the number of times

Post by phil »

I mean XMBC and AHK (and any other application that installed keyboard or mouse hooks - there are plenty of others out there, for example I have Volume2 which uses a mouse hook (I only found it after someone had problems with it and XMBC!!)).
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

greatxmouse
Member
Posts: 29
Joined: Wed Jul 29, 2020 5:45 pm

Re: Simulated key strokes - the number of times

Post by greatxmouse »

You're right. Whenever I come back from sleep mode, AHK doesn't work in a regular behavior and I figured X-mouse blocks it somehow. But reloading AHK makes everything gets back to normal. Hope that it helps to someone.

Post Reply