Random click Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
jj16

Random click

06 Dec 2015, 08:04

I have a webpage with lots of little squares. I need to click randomly one by one. This is very annoying and I want to create a ahk script to make this task.
Please explain: how do I do that? I read too much help pages with no success. Maybe I don't know what to look for.
User avatar
Exaskryz
Posts: 2882
Joined: 17 Oct 2015, 20:28

Re: Random click

06 Dec 2015, 12:25

Use Random twice to store two numbers into two variables. Then use Click %var1%, %var2% and life should be good.
jj15
Posts: 6
Joined: 06 Dec 2015, 07:35

Re: Random click

06 Dec 2015, 15:30

What numbers do I use?
User avatar
Exaskryz
Posts: 2882
Joined: 17 Oct 2015, 20:28

Re: Random click  Topic is solved

06 Dec 2015, 15:44

Well, that depends on your webpage. Use the Window Spy tool that should have come with your download of AHK to figure out the lower and upper bounds for numbers for where to click these squares.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot] and 278 guests