Jump to content
Sign in to follow this  
Wireless

new to autoIT, needing alittle help

Recommended Posts

Wireless

Ok, so I'm not really a technical person, although I have taught myself basic html, php, perl, and vb by looking at others code.

I am wondering if someone can show me the basics of interacting with the mouse in autoit. Say... how would I make it click in 4 defined spots, then press the space bar, all 5 seconds apart? as in...

click(coords)

wait(seconds)

click(coords)

wait(seconds)

click(coords)

wait(seconds)

click(coords)

wait(seconds)

keypress(spacebar)

wait(seconds)

if anything, can someone link me to possible documents that would teach me how to do this using AutoIT?

Your help is much appreciated.

Share this post


Link to post
Share on other sites
Wireless

sorry for wasting your time, alittle exploring and i found some good examples. :)

Share this post


Link to post
Share on other sites
Wireless

ok, now for the nagging... any documentation that will help me figure out how to loop the following code until a certain key is pressed?

MouseClick("right", 789, 604)

Sleep(5000)

MouseClick("left", 221, 540)

Sleep(5000)

MouseClick("left", 578, 217)

Sleep(5000)

MouseClick("left", 661, 672)

Sleep(5000)

Send("{space}")

Sleep(5000)

Share this post


Link to post
Share on other sites
Wireless

I apparently get way ahead of myself... sorry... figured it out already. ;(

Share this post


Link to post
Share on other sites
ame1011

if you haven't found them already, the help docs are installed along with autoit. Look for them in the autoit folder.


[font="Impact"] I always thought dogs laid eggs, and I learned something today. [/font]

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  

×