iNu Posted August 10, 2006 Posted August 10, 2006 Hey, I know I'm kinda new here (1 post ^^) but I'm familiar with programming and I was wondering if there was a way to 'speed up' the mousemove. It takes way to long, like 2 seconds, which can mean life or death in the setting I'm attempting to use it in. Thanks a bunch, Vince
Xenobiologist Posted August 10, 2006 Posted August 10, 2006 Hey, I know I'm kinda new here (1 post ^^) but I'm familiar with programming and I was wondering if there was a way to 'speed up' the mousemove. It takes way to long, like 2 seconds, which can mean life or death in the setting I'm attempting to use it in. Thanks a bunch, Vince Hi & welcome, have a look at the 3rd parameter of MouseMove ( x, y [, speed] ) So long, Mega PS May have a llok at the Options too, AutoItSetOption Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
omglol Posted August 10, 2006 Posted August 10, 2006 (edited) While 1 MouseMove(800,600,100) ; (x xoord, y coord, speed) Sleep(1000) MouseMove(100,100,1000) ; (x xoord, y coord, speed) Sleep(1000) WEnd wich one's faster? EDIT: the time is in milliseconds, so the first movement takes .1 second and the second movement takes one second. Edited August 10, 2006 by omglol
iNu Posted August 10, 2006 Author Posted August 10, 2006 Ah, Thanks both of you (I was wondering what 3rd one was for shoulda put 2 and 2 together)
herewasplato Posted January 11, 2007 Posted January 11, 2007 While 1 MouseMove(800,600,100) ; (x xoord, y coord, speed) Sleep(1000) MouseMove(100,100,1000) ; (x xoord, y coord, speed) Sleep(1000) WEnd wich one's faster? EDIT: the time is in milliseconds, so the first movement takes .1 second and the second movement takes one second.FYI - The second one with a speed of 1000 is faster that the first one with a speed of 100. It is a scale from 0 to 100. Once you exceed 100, the function reverts to the default setting of 10. For $i = 1 To 3 $begin = TimerInit() MouseMove(800, 600, 100) MsgBox(0, "100", TimerDiff($begin), 2) $begin = TimerInit() MouseMove(100, 100, 1000) MsgBox(0, "1000", TimerDiff($begin), 2) Next [size="1"][font="Arial"].[u].[/u][/font][/size]
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