Sign in to follow this  
Followers 0
cuteaznandrew

QUESTION about mouse following things

6 posts in this topic

Hello, I am new to Autoit, and I was just wondering, can Autoit make my mouse follow a black colored line, really fast? :">

Share this post


Link to post
Share on other sites



Yes.

Share this post


Link to post
Share on other sites

Yes.

:D

Q: Do you have the time?

A: Yes.

Share this post


Link to post
Share on other sites

Hello, I am new to Autoit, and I was just wondering, can Autoit make my mouse follow a black colored line, really fast? :">

Make sure you are using the Beta version, and check out the beta help file for MouseGetPos() and PixelGetColor(). You could create a loop that wil read the color under the mouse, search adjoining pixels for the same color, move the mouse there, and repeat. That will move the mouse along the line. Accounting for lines that are more than a single pixel wide and going in any direction will require some extra logic, but definitely doable...

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Does anyone know the commands I should use, because right now I am completly clueless on how to design this script. "

Or can anyone help me write this script. All help is appreciate, thanks a lot. :D

EDIT:

FYI-im not using beta

Edited by cuteaznandrew

Share this post


Link to post
Share on other sites

Get beta and scite :D

Better than everything else i know...

PsaltyDS told some functions you should use and While, For , etc should be known...


--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

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