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 

Alt button randomly activating

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Sweaty



Joined: 11 Jun 2009
Posts: 11

PostPosted: Sat Nov 21, 2009 8:59 pm    Post subject: Alt button randomly activating Reply with quote

I'm having a very strange problem. At seemingly random times my Alt button is being pressed. This is extremely annoying because it cause the menu bar to activate and it steals focus.

when running an empty script and looking and the "Key history and script info" this shows up

Code:
A5  038   a   d   7.44   Alt               
A5  038   a   u   0.00   Alt     

the 'a' means artificial

When running a script that kills the alt key (Alt:: ) it seems as though the button is being triggered every 59.83 seconds, pretty much 1 minute.

Code:
001: Exit (59.83)
001: Exit (59.83)


Is there any way I can figure out what is triggering this. It happens when my keyboard is unplugged by the way.
Back to top
View user's profile Send private message
System Monitor



Joined: 09 Mar 2007
Posts: 509
Location: Unknown

PostPosted: Sun Nov 22, 2009 12:36 am    Post subject: Reply with quote

First, it may not be autohotkey that is sending the alt, it is obviously not hardware problem either.
Reinstall the latest version of ahk.
Try getting another key history app (aka keylogger) that records virtual key presses and run it and check if alt is being pressed while ahk isn't open.
Back to top
View user's profile Send private message Visit poster's website
txquestor



Joined: 22 Aug 2009
Posts: 294

PostPosted: Sun Nov 22, 2009 12:40 am    Post subject: Reply with quote

Right-Click on the Taskbar & run the Task Manager
Click the Process Tab and check is there are any
Autohtokey.exe processes running.
If any are running, get the name of the script
search for it on you're hard drive and
check if there is any hotkey or send command
with the ALT key.
_________________

"Man's quest for knowledge is an expanding series whose limit is infinity"
Back to top
View user's profile Send private message
Sweaty



Joined: 11 Jun 2009
Posts: 11

PostPosted: Sun Nov 22, 2009 1:11 am    Post subject: Reply with quote

This all happens when there are no AHK scripts running. I'm just using AHK in an attempt to find out what is sending the keypress. Is there any other programs out there that could log virtual keystrokes and perhaps tell what application/process is doing it?
Back to top
View user's profile Send private message
sysmon
Guest





PostPosted: Sun Nov 22, 2009 1:17 am    Post subject: Reply with quote

You could remove processes with windows task manager and check if alt is still being pressed every time.
Sorry, I don't know of any application tells what application a virtual key press is coming from.
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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