Sign in to follow this  
Followers 0
Guest Solomando

Simple AutoIt Help

5 posts in this topic

Never was really big in what language this looks like (C# maybe?) but I need some simple help. I'm attempting to make a macro for a game that requires the mouse to click 9 different spots (I have the X Y coords for all) while holding control. I read over all the help files and they didn't get me too far with the whole "click" ordeal. And still not sure how to send ctrl+click.

Share this post


Link to post
Share on other sites



what game?

8)_


NEWHeader1.png

Share this post


Link to post
Share on other sites

Ragnarocks. All my friends started playing it a while ago and I don't have the time. I played UO and mastered EUO in like 2 weeks and could macro anything. Want to do that with this game too.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

there are alot of people who write game "bots" i searched all areas for your game and couldn't find it... exactly. but there are many for diablo and etc. at the bottom of support screen is a "search" box i would look there and under Scripts and Scraps.

But i did find this with a mouse function utilizing the x and y coords you mentioned

http://www.autoitscript.com/forum/index.php?showtopic=7112#

( i'm not really a gamer )

good luck

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

send("{CTRLDOWN}"); holds control key down
;MouseClick ( "button" [, x, y [, clicks [, speed ]]] )
mouseclick("left",10,10,1,1); click once at this point, move extreemly fast. point 1
mouseclick("left",100,100,1,1); click once at this point, move extreemly fast. point 2
mouseclick("left",10,10,1,1); click once at this point, move extreemly fast. point 3
mouseclick("left",100,10,1,1); click once at this point, move extreemly fast. point 4
mouseclick("left",10,100,1,1); click once at this point, move extreemly fast. point 5
mouseclick("left",100,10,1,1); click once at this point, move extreemly fast. point 6
mouseclick("left",10,100,1,1); click once at this point, move extreemly fast. point 7
mouseclick("left",100,10,1,1); click once at this point, move extreemly fast. point 8
mouseclick("left",10,100,1,1); click once at this point, move extreemly fast. point 9
send("{CTRLUP}"); lifts the controlkey back up

This might not work on all games, but should get you started.

You might want to put it in a function with a hotkey, or timed...


AutoIt3, the MACGYVER Pocket Knife for computers.

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