Whats a general purpose key logger that I can use to detect keys for debugging and testing purposes? Preferably, I can hit a record button and a stop button and it will display a text file with all keys pressed during that time. Obviously, it doesn't have to be a super stealthy logger which secretly emails a anonymous account every week.
For programming and keylogging, I've had a lot of luck with Perfect Keyboard Std/Pro. It is a very good bit of software to help enter blurbs of code, or record a series of keys and help you re enter them if or when needed.
For X11, see GNU xnee. It is capable of recording and playing back both keyboard and mouse input actions.
On Windows, AutoHotKey supports recording and playing back keyboard macros. It's actually quite a powerful scripting solution in all.
PyKeylogger is a free open source keylogger written in the python programming language, available under the terms of the GNU General Public License. I threw it together one day after not being able to find a simple and trustworthy (as measured by the availability of source code) keylogger for windows, and it sort of snowballed from there. It is currently available for Windows (NT/2000 and up), and Linux (using Xlib, so won't work on the console).
I'm not very familiar with this tool (never used it before, found it just now) but it sounds like it could do what you want, or be easily modified to do what you want?
Autohotkey comes with a fancy tool called AutoScriptWriter, which can record keypresses and mouse clicks, regardless of where they take place. It doesn't produce pretty output, but it works ...
Output from recorded key-strokes:
Send, {ALTDOWN}{ALTUP}
Send, {TAB}{TAB}
Send, jfhdls
Send, 176 177 178 175 174 179
176 177 175 175 174 179 are multimedia keys on my Logitech G15 keyboard
What you are looking for are application and test automation tools. They generally are not called key loggers. There are many of these tools available. Here are a some:
- AutoIt (Free)
- Ranorex (pay)
- Windows UI Automation APIs (free)
- Web UI Automation with Windows PowerShell (free)
- UIA Verify (free)
- Big list of tools (unverified)
- Spiffy Bing Search for more stuff
I've not used any of the software in the posts above,but as to keylogger ,this one is qiute smart as I know.