Search the Community
Showing results for tags 'MouseMove mouse speed'.
-
Hello. Is it possible to set the mouse move speed to a value between 1 and 2? MouseMove(x, y, 1) is too quick but MouseMove(x, y, 2) is a bit too slow. Context: My son is playing a single player fishing game and he asked me for help. The faster the mouse cursor moves when casting his "fishing line", the further the fishing line goes. When MouseMove(x, y, 2) is used, my son is able to move his cursor faster than autoit can. When MouseMove(x, y, 1) is used, the mouse cursor moves too quickly, and the game does not register the mouse move action. I would like to find that "sweet spot" where the mouse moves as quickly as possible, but slow enough to where the game can register that speed. I'd love to introduce my son to the power of scripting/programming to further peak his interest in it. Video games can act as a fun platform to do just that.
-
It seems that MouseMove has a delay between each MouseMove call. I'm aware of the speed parameter, which has been set to 0, so movement is instant. However even if I call MouseMove repeatedly within a While-loop, there seems to be a significant delay between each call. How can I reduce this delay? ; An example: For $x = 0 To 100 For $y = 0 To 100 MouseMove($x, $y, 0) Next Next I'd like for the above code to scan over the 100x100 pixel area in a matter of a couple seconds. Currently it takes many many many minutes.