Jump to content

Simple (?) Script


Zaradoom
 Share

Recommended Posts

Hello all!

I wanted to script a few easy things and noticed thats its been a LONG time since i did this. And i have no idea where to start at all now ;-)

What i want to do is a script that:

a: moves the mouse to a point on my screen

b: leftclicks

c: moves to another point

d: waits 10sec

e: leftclicks again

f: moves to a third point

g: waits another 10sec

h: leftclicks a third time

i: waits 11minutes

j: repeats the script

All this stuf sounds so easy,... yet the old school QBasic i learned like 10 years ago does not help me at all :)

Can anyone help me out here? Guess if i SEE how this works i can get back into it alot easier to do more advanced scripts on my own.

Thanks in advance!

Zaradoom

Link to comment
Share on other sites

It is all in the help file.

MouseMove, MouseClick, Sleep and While .....Wend


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

This Thing Is A Basic Of Autoit Right (Autoit made for this)

while 1
MouseMove(X,Y,0)
MouseClick('Left')
MouseMove(X,Y,0)
Sleep(10000)
MouseClick('Left')
MouseMove(X,Y,0)
Sleep(10000)
MouseClick('Left')
Sleep(660000)
wend
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...