Jump to content

need help


einar2
 Share

Recommended Posts

27 minutes ago, einar2 said:

So when i make my scrip "go" I press F5 when i have the focus on the script. But how do I run it without having the focus on the script?, like when im on Chrome. sorry for bad english.

run it( i mean make it go)

MouseClick("left",508,453)
Sleep(100)
MouseClick("left",978,712)

i wanted to use this for a web site.

 i wanted to make my script run without having to manually make it run like clicking on the scrip and pressing F5, id rather want to press some button and then it runs.

this migt be a stupid question whit no answer

Link to comment
Share on other sites

HotKeySet("{F5}", Go)

While 3
    Sleep(333)
WEnd

Func Go()
    MouseClick("left",508,453)
    Sleep(100)
    MouseClick("left",978,712)
EndFunc

Run that, go to your website, press F5 when you want clicks.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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
 Share

  • Recently Browsing   0 members

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