Randomized pixel mouse movements.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
hibrid
Posts: 1
Joined: 22 Jun 2018, 08:49

Randomized pixel mouse movements.

Post by hibrid » 22 Jun 2018, 09:09

What are different way to make a mouse move or jump within a certain frame of pixels. I would rather use movements instead of jumps. Also hope that a few examples about how this can be achieved will be with a GUI or copy paste code/scripts. Since i don't have the time to learn to code for this simple feature alone. But if i have to, i will, not a lot of good things in life come easy.

Sincerly thanking you for your time.

Raf.

imustbeamoron
Posts: 44
Joined: 18 Aug 2016, 22:56

Re: Randomized pixel mouse movements.

Post by imustbeamoron » 22 Jun 2018, 09:32

something like this

Code: Select all

x_min := 400, x_max := 600				;define min & max for x axis
y_min := 200, y_max := 400				;define min & max for y axis

random, xPos, % x_min, % x_max			;get a random number between the x_min & x_max
random, yPos, % y_min, % y_max			;get a random number between the y_min & y_max

MouseMove, xPos, yPos					;move the mouse to the random x, and y coordinates

Guest

Re: Randomized pixel mouse movements.

Post by Guest » 22 Jun 2018, 11:22

Where do i paste that code, or rather, where can i learn how i can use scripts and where to put it in between the script i made by recording mouse movements.

Post Reply

Return to “Ask for Help (v1)”