Kiti Posted June 17, 2008 Share Posted June 17, 2008 How can I make the cursor move with constant speed? Think outside the box.My Cool Lego Technic Website -- see walking bipeds and much more!My YouTube account -- see cool physics experimentsMy scripts:Minesweeper bot: Solves advanced level in 1 second (no registry edit), very improved GUI, 4 solving stylesCan't go to the toilet because of your kids closing your unsaved important work? - Make a specific window uncloseableCock Shooter Bot -- 30 headshots out of 30 Link to comment Share on other sites More sharing options...
Nevin Posted June 17, 2008 Share Posted June 17, 2008 always move it the same amount of distance, I suppose. Link to comment Share on other sites More sharing options...
TehWhale Posted June 17, 2008 Share Posted June 17, 2008 always move it the same amount of distance, I suppose. Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 17, 2008 Share Posted June 17, 2008 How can I make the cursor move with constant speed?Cut back on the caffine? Sorry, couldn't help myself...The Windows API has Acceleration/Deceleration built into it for mouse moves. So the mouse appears to move more quickly in the middle than at either end of travel. There may be a way to defeat that, but it might be real pain. Why bother? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Kiti Posted June 17, 2008 Author Share Posted June 17, 2008 Cut back on the caffine? Sorry, couldn't help myself...The Windows API has Acceleration/Deceleration built into it for mouse moves. So the mouse appears to move more quickly in the middle than at either end of travel. There may be a way to defeat that, but it might be real pain. Why bother? I'm practicing my skills on a minesweeper bot, with the smallest amount of lines possible It moves very good and accuarate between the cells, but not with constant speed. I'm using the xyzzy trick, so the speed matters. Anyway, I found a good way to bypass this, I've put a for loop with the dimension of a box in pixels (16), so it doesn't matter any more now.Now I'm just curious if this is one of the "common and simple" things AutoIt can't do.Thank you for your replies! Think outside the box.My Cool Lego Technic Website -- see walking bipeds and much more!My YouTube account -- see cool physics experimentsMy scripts:Minesweeper bot: Solves advanced level in 1 second (no registry edit), very improved GUI, 4 solving stylesCan't go to the toilet because of your kids closing your unsaved important work? - Make a specific window uncloseableCock Shooter Bot -- 30 headshots out of 30 Link to comment Share on other sites More sharing options...
Kiti Posted June 17, 2008 Author Share Posted June 17, 2008 (edited) Succes!!! It makes it in 2 seconds with just 15 lines of code I'll put in example scripts, and I'll put a link here soon.Edit: Here it is !! Tell me what you think! Edited June 17, 2008 by Kiti Think outside the box.My Cool Lego Technic Website -- see walking bipeds and much more!My YouTube account -- see cool physics experimentsMy scripts:Minesweeper bot: Solves advanced level in 1 second (no registry edit), very improved GUI, 4 solving stylesCan't go to the toilet because of your kids closing your unsaved important work? - Make a specific window uncloseableCock Shooter Bot -- 30 headshots out of 30 Link to comment Share on other sites More sharing options...
TehWhale Posted June 18, 2008 Share Posted June 18, 2008 Succes!!! It makes it in 2 seconds with just 15 lines of code I'll put in example scripts, and I'll put a link here soon.Edit: Here it is !! Tell me what you think!I can't really tell you how good it is, because I havn't tried it. But, so far your Avatar along with Sandin's, are awesome. They have been added to my world famous avatar library. 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