Jump to content

Recommended Posts

Posted

I'm new to AutoIt but I'm already amazed as to what it can do. My question is this:

I'm trying to write a script that makes the mouse click on certain text when it appears, like a particular hyperlink on a website. What I'm wondering is if there is a way I can make the script autodetect the location with coordinates like

gettextcoord ("text")

mouseclick("right", X, Y,")

What I need to know is if there's a command for finding a certain text string and how I might go about doing this. Sorry if this post is a bit odd sounding, I'm pretty tired right now but I wanted to post this before going to sleep.

Posted

Hi!

just compare several points of your text via Pixelgetcolor or the hole string via pixelchecksum.

peethebee

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Posted

Be specific: Are you actually wanting to follow a link in a browser window or are you wanting to find some pixel text on another type of screen? What program will your script be 'reading'?

Posted

Ok, I got the color one to work alright, but I'm still looking for the text.

Confuzzled, I'm really just trying to learn how to use AutoIt right now so I'd have to say some pixel text on another screen, I plan on someday, if I get good, to use this for making game scripts. I was just using the hyperlink as an example, perhaps that was a bad idea.

Posted

Maybe you want to search around for the _IE functions.

Alternatively, (if I understand you right) you may want to search for terms such as OCR and WOW - there is a lot of games bot activity in these forums.

Good luck!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...