Doubled Artificial KeyPress

Get help with using AutoHotkey (v1.1 and older) 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

::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

4F  018	 	d	1.52	o              	
4F  018	a	d	0.00	o              	
52  013	 	d	0.05	r              	
52  013	a	d	0.00	r              	
4F  018	 	u	0.03	o              	
4F  018	a	u	0.00	o              	
52  013	 	u	0.06	r              	
52  013	a	u	0.00	r              	
41  01E	 	d	0.06	a              	
41  01E	a	d	0.00	a              	
41  01E	 	u	0.08	a              	
41  01E	a	u	0.00	a              	
4E  031	 	d	0.06	n              	
4E  031	a	d	0.00	n              	
4E  031	 	u	0.06	n              	
4E  031	a	u	0.00	n              	
47  022	 	d	0.03	g              	
47  022	a	d	0.00	g              	
45  012	 	d	0.11	e              	
45  012	a	d	0.00	e              	
47  022	 	u	0.01	g              	
47  022	a	u	0.00	g              	
45  012	 	u	0.08	e              	
45  012	a	u	0.00	e
Workaround (double each char)

Code: Select all

::oorraannggee::bannana
Rohwedder
Posts: 7616
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

4F  018	 	d	1.34	o              	
4F  018	 	u	0.13	o              	
52  013	 	d	0.41	r              	
52  013	 	u	0.08	r              	
41  01E	 	d	0.13	a              	
41  01E	 	u	0.16	a              	
4E  031	 	d	0.48	n              	
4E  031	 	u	0.09	n              	
47  022	 	d	0.23	g              	
47  022	 	u	0.13	g              	
45  012	 	d	0.41	e              	
45  012	 	u	0.13	e              	
0D  01C	s	d	0.89	Enter          	
08  00E	i	d	0.00	Backspace      	
08  00E	i	u	0.00	Backspace      	
08  00E	i	d	0.00	Backspace      	
08  00E	i	u	0.00	Backspace      	
08  00E	i	d	0.00	Backspace      	
08  00E	i	u	0.00	Backspace      	
08  00E	i	d	0.00	Backspace      	
08  00E	i	u	0.00	Backspace      	
08  00E	i	d	0.00	Backspace      	
08  00E	i	u	0.00	Backspace      	
08  00E	i	d	0.00	Backspace      	
08  00E	i	u	0.00	Backspace      	
42  030	i	d	0.00	b              	
42  030	i	u	0.00	b              	
41  01E	i	d	0.00	a              	
41  01E	i	u	0.00	a              	
4E  031	i	d	0.00	n              	
4E  031	i	u	0.00	n              	
4E  031	i	d	0.00	n              	
4E  031	i	u	0.00	n              	
41  01E	i	d	0.00	a              	
41  01E	i	u	0.00	a              	
4E  031	i	d	0.00	n              	
4E  031	i	u	0.00	n              	
41  01E	i	d	0.00	a              	
41  01E	i	u	0.00	a              	
0D  01C	i	d	0.00	Enter          	
0D  01C	i	u	0.00	Enter          	
0D  01C	 	u	0.13	Enter   
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 (v1)”

Who is online

Users browsing this forum: mikeyww, mmflume, OrangeCat and 83 guests