jing Posted October 2, 2006 Share Posted October 2, 2006 (edited) I need to capture user action when people press a key or click the mouse. OK.. I know somebody will suspect I am a keylogger. In fact, I don't need to know which key a person pressed or which button the person clicked what or ever. I just need to know people actually did a operation. That's it. Anyone can teach me how to achieve that using AutoIt? Thanks a lot Edited October 2, 2006 by jing Link to comment Share on other sites More sharing options...
lod3n Posted October 2, 2006 Share Posted October 2, 2006 An operation on an AutoIt GUI, or an operation anywhere on the computer? What are you trying to make? [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
jing Posted October 3, 2006 Author Share Posted October 3, 2006 An operation on an AutoIt GUI, or an operation anywhere on the computer? What are you trying to make?OK, let me put it straight. As you are using Notepad, when you pressed a key or clicked your mouse. That probably means you have modified the content. I just need a mechanism to inform something might happened, the content might changed. Come on, just give me a hint Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 3, 2006 Moderators Share Posted October 3, 2006 OK, let me put it straight. As you are using Notepad, when you pressed a key or clicked your mouse. That probably means you have modified the content. I just need a mechanism to inform something might happened, the content might changed. Come on, just give me a hintIt's not as simple as what you are saying, if you want to know what specifically they have done that is.Other than that, if you're just looking for something simple, look at _IsPressed() and HotKeySet() in the help file. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
jing Posted October 3, 2006 Author Share Posted October 3, 2006 It's not as simple as what you are saying, if you want to know what specifically they have done that is.Other than that, if you're just looking for something simple, look at _IsPressed() and HotKeySet() in the help file.I didn't find any function named IsPressed(). I believe it is what I am looking for, but I can't find it. Link to comment Share on other sites More sharing options...
jing Posted October 3, 2006 Author Share Posted October 3, 2006 http://www.autoitscript.com/forum/index.ph...st&p=239504Thanks, buddy. Would you mind to tell me how you guys know things like _ispressed, $CPURelief, etc. I can't find them in the help file at all. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 3, 2006 Moderators Share Posted October 3, 2006 Thanks, buddy. Would you mind to tell me how you guys know things like _ispressed, $CPURelief, etc. I can't find them in the help file at all.1. We use the latest releases of AutoIt - 3.2.1.x2. We RTFM (sorry couldn't resist)ReleaseBeta Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Bert Posted October 3, 2006 Share Posted October 3, 2006 We try to read it ....... We don't say we understand it.... We claim we need glasses..... We say the dog did it..... We say...... Oh hell..... @smoke - That was too easy..... The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
jing Posted October 5, 2006 Author Share Posted October 5, 2006 Where can I find information about this user32.dll? In my case, I do not care about the mouse movement, so I want find a function perfectly fits my case. Cheers~ Link to comment Share on other sites More sharing options...
cppman Posted October 5, 2006 Share Posted October 5, 2006 (edited) Where can I find information about this user32.dll?In my case, I do not care about the mouse movement, so I want find a function perfectly fits my case. Cheers~MSDN..http://msdn2.microsoft.com/en-us/default.aspxthis one might be easier for you:http://www.pinvoke.net/default.aspx/user32/MessageBox.htmlIf you look at the column on your left, there is a list of DLL's. User32.dll, is already branched out. Edited October 5, 2006 by CHRIS95219 Miva OS Project Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now