Moja Posted November 1, 2004 Posted November 1, 2004 Re, how would I do a program to automatically press enter everytime the mouse (MOUSE2 or left click) was pressed, ta Moja
Developers Jos Posted November 1, 2004 Developers Posted November 1, 2004 would require the beta "unstable" version... interested?LAr.<{POST_SNAPBACK}>I feel another DLLCall rich script is about to see daylight ... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
scriptkitty Posted November 1, 2004 Posted November 1, 2004 (edited) btw Larry i get more reliable results and no more noticeable CPU this way: While 1 While 1 $ret = DllCall("user32.dll", "int","GetAsyncKeyState", "int", 0x1) If $ret[0] = -32767 Then ExitLoop Sleep(1) WEnd Sleep(1) Send("{ENTER}") Wend 50ms doesn't seem slow but... oh yea, I know rightbutton is 0x2, what is middle mouse? Edited November 1, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers.
ezzetabi Posted November 2, 2004 Posted November 2, 2004 I know Larry is great and all... But scriptkitty you are not nice ignoring my messages. http://www.autoitscript.com/forum/index.php?showtopic=5760Middle is 0x04
scriptkitty Posted November 2, 2004 Posted November 2, 2004 Thanks, Funny thing is I figured it was 04. I tested it but not sure why it didn't work. Oh, and my right button acts funny as well on this, I did notice that it works if I am right clicking a scrollbar. Weird. Nice chart in your au3 file btw. ..files it away in a safe place... AutoIt3, the MACGYVER Pocket Knife for computers.
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