Sign in to follow this  
Followers 0
einar2

need help

5 posts in this topic

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



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
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.

1 person likes this

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

johnone thank you

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  
Followers 0