Jump to content

Random Mouseclick?


Guest keebler
 Share

Recommended Posts

Guest keebler

I am trying to get a script to work where the mouse will give a random mouseclick withing a set region.

Currently I've tried to use the following and it doesn't seem to work

Random, x1, 0, 400

Random, y1, 0, 400

mousemove, x1, y1

LeftClick, x1, y1

Sure hope someone has a solution, thanks

Link to comment
Share on other sites

  • Administrators

I am trying to get a script to work where the mouse will give a random mouseclick withing a set region.

Currently I've tried to use the following and it doesn't seem to work

Random, x1, 0, 400

Random, y1, 0, 400

mousemove, x1, y1

LeftClick, x1, y1

Sure hope someone has a solution, thanks

It's been a long time since I've used v2, but try:

Random, x1, 0, 400
Random, y1, 0, 400
mousemove, %x1%, %y1%
LeftClick, %x1%, %y1%

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...