Sign in to follow this  
Followers 0
the_man

setting op a move and double click script

6 posts in this topic

Okay, ive been trying for many hours now. hehe, with no luck. Even searched the forums, without actually understanding any of the codes.

What i need is probably as easy as stealing money from babies, its a script that opens a running program called SwgClient.

When it does so it need to pause for 4 seconds before it moves to 1 location and double clicks it:

Move to 238 297

Then double click it.

Then to another location:

Move to 313 221

then double click it.

Then it has to take a 10 sec break and start all over again.

If anyone would set this up for me i would be very thankful and worship the guy for the rest of my life.

Peace out all! and thanks!

Share this post


Link to post
Share on other sites



Okay, ive been trying for many hours now. hehe, with no luck. Even searched the forums, without actually understanding any of the codes.

What i need is probably as easy as stealing money from babies, its a script that opens a running program called SwgClient.

When it does so it need to pause for 4 seconds before it moves to 1 location and double clicks it:

Move to 238 297

Then double click it.

Then to another location:

Move to 313 221

then double click it.

Then it has to take a 10 sec break and start all over again.

If anyone would set this up for me i would be very thankful and worship the guy for the rest of my life.

Peace out all! and thanks!

Read about MouseClick, Sleep and looping in the help file.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

This is what ive gotten so far, i read i dont need to ahve any comand to open the SwgClient window, i just had to open it myself.

Sleep(4000)

MouseClick ( "left", 238, 297, 2)

Sleep(500)

MouseClick ( "left", 313, 221, 2)

Sleep(10000)

The problem know is that i was reading all the places that had the loop info, and i sure couldnt figure out how to use it, and i wanted to use the escape key to cancel it, but i couldnt figure out how to that either.. B)

any help on the last part?

Share this post


Link to post
Share on other sites

This is what ive gotten so far, i read i dont need to ahve any comand to open the SwgClient window, i just had to open it myself.

Sleep(4000)

MouseClick ( "left", 238, 297, 2)

Sleep(500)

MouseClick ( "left", 313, 221, 2)

Sleep(10000)

The problem know is that i was reading all the places that had the loop info, and i sure couldnt figure out how to use it, and i wanted to use the escape key to cancel it, but i couldnt figure out how to that either.. B)

any help on the last part?

To cancel it look up HotKeySet. Yes you will need a loop, look it up in help files.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

@bigdod why don't you just write a little loop for him?

hotkeyset("!+^9", "Lemmego");strg+alt+shift+9
Sleep(4000)
while 1
MouseClick ( "left", 238, 297, 2)
Sleep(500)
MouseClick ( "left", 313, 221, 2)
Sleep(10000)
wend
func Lemmego()
exit
endfunc

left this 1 for me as well?

Edited by Nuffilein805

Share this post


Link to post
Share on other sites

@bigdod why don't you just write a little loop for him?

hotkeyset("!+^9", "Lemmego");strg+alt+shift+9
Sleep(4000)
while 1
MouseClick ( "left", 238, 297, 2)
Sleep(500)
MouseClick ( "left", 313, 221, 2)
Sleep(10000)
wend
func Lemmego()
exit
endfunc

left this 1 for me as well?

I was trying to encourage hime to look at the help file.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

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