Jump to content

I'm so clueless


Recommended Posts

HotKeySet("{END}", "End")
HotKeySet("{DEL}", "Go")

While 1

Func End()

Func Go()
   While 1
   MouseClick("left", Random(586, 844, 0), Random(305, 577, 1), 0)
   MouseClick("left",1307,328, 0)
   MouseClick("left",1307,168, 0)


So I was using the code above and it was working completely fine. I came back later reopened the script and it just doesnt run... no errors nothing it just doesnt run..

I can seem to run it but it doesnt start the program i can only press END to end the DEL hotkey does nothing..

I also tried to make another script with one simple mouse click and that doesnt work either is there something wrong with my versions???


>"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\XXX\Desktop\Test - Copy.au3"    

Link to comment
Share on other sites

First thing I see wrong with your script is that

Random(586, 844, 0)

Should be

Random(586, 844, 1)

Also, what spudw2k said, because I apparently confused it with speed instead of clicks

Edited by rcmaehl

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

Cisco FinesseGithubIRC UDFWindowEx UDF


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

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