Doubled Artificial KeyPress

Get help with using AutoHotkey and its commands and hotkeys
Ned612
Posts: 3
Joined: 12 Feb 2018, 13:24

Doubled Artificial KeyPress

12 Feb 2018, 13:39

Hello,

I am having an issue of hotstrings not working due to my actual key pressed being duplicated by a virtual key press. Has anyone seen this type of behavior before and have any recommendations?

Hotstring Script:

Code: [Select all] [Download] GeSHi © Codebox Plus

::orange::bannana


Observed Behavior:
  • Nothing happens, hotstring is not triggered

Detected Input Log (a proceeding virtual key after each physical key event)

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



Workaround (double each char)

Code: [Select all] [Download] GeSHi © Codebox Plus

::oorraannggee::bannana
Rohwedder
Posts: 1030
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Doubled Artificial KeyPress

13 Feb 2018, 04:37

Hallo,
::orange::bannana works fine, no a=Artificial keys detected:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Is a secret keylogger running?
Ned612
Posts: 3
Joined: 12 Feb 2018, 13:24

Re: Doubled Artificial KeyPress

13 Feb 2018, 08:22

Rohwedder wrote:Is a secret keylogger running?


This is one of my fears. I will test the script on some of my other machines and see if I can duplicate it elsewhere. In the meantime, I will start trying some new anti-viruses and looking into active processes...
Ned612
Posts: 3
Joined: 12 Feb 2018, 13:24

Re: Doubled Artificial KeyPress

22 Feb 2018, 08:54

So I found the culprit software causing the duplicate virtual keypress - fortunately, it was not a keylogger and was other automation software I use (Ranorex). Is there any way to have AHK ignore virtual keypresses and only listen for actual keypresses (at least in the scope of hotstrings)?

Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 8 guests