Jump to content
Sign in to follow this  
einar2

need help

Recommended Posts

einar2

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)

Share this post


Link to post
Share on other sites
einar2
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

Share this post


Link to post
Share on other sites
JohnOne
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.

  • Like 1

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

Monkey's are, like, natures humans.

Share this post


Link to post
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
Sign in to follow this  

×