![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Keylogger Hello together, I need help for my little project. I will monitoring the keyboard. When a user press 3 times in a row a "0" then msgbox "..." And it will be good, when the programm is not in the task list. Thank you Mike |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Keylogger Mike Berger wrote: Quote: > I will monitoring the keyboard. > When a user press 3 times in a row a "0" then msgbox "..." > There are (at least) two ways to approach this, and neither one is very appropriate for scripting. You would be better advised to try some other language with a system api call capability. If you are looking to detect keystrokes when YOUR OWN app is active, then you could "subclass" your window, and check for wm_char messages. Note that subclassing means setting up a wndproc and filtering certain system messages, before passing them along to the system for processing. If you are looking to detect keystrokes in a more general case (i.e., "system-wide", or keystrokes entered when ANY app is active), then you need to use "hooking". Hooking is even more tricky than invoking the usual api calls. If you are serious about this, you can find various utilities to help -- for example, there is "DSKEYBRD" (by Juergen Thuemmler, a.k.a. Delphin Software), a dll which will allow you to intercept keystrokes. You can find that here (about half-way down the page): http://allapi.mentalis.org/vbexample...?category=MISC You may find this easy to use from VB or VBA, or any other language with the ability to call api's. However, to use it from script, you will have to build an "infrastructure", something that will take a while (but _is_ possible). cheers, jw ____________________________________________________________ You got questions? WE GOT ANSWERS!!! ..(but, no guarantee the answers will be applicable to the questions) |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Keylogger On Fri, 17 Jul 2009 19:25:05 GMT, Mike Berger wrote: Quote: > I need help for my little project. > > I will monitoring the keyboard. > When a user press 3 times in a row a "0" then msgbox "..." > > And it will be good, when the programm is not in the task list. -- My eyes just refuse to see clearly, they are a lazy lot. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| keylogger | Vista General | |||
| vista/ keylogger 5 and keylogger pro | Vista security | |||
| do I have a keylogger or not? | Vista General | |||
| do I have a keylogger or not? | Vista security | |||
| Keylogger | Vista General | |||