cuteaznandrew Posted July 16, 2006 Posted July 16, 2006 Hello, I am new to Autoit, and I was just wondering, can Autoit make my mouse follow a black colored line, really fast? :">
PsaltyDS Posted July 16, 2006 Posted July 16, 2006 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... 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
cuteaznandrew Posted July 17, 2006 Author Posted July 17, 2006 (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. EDIT: FYI-im not using beta Edited July 17, 2006 by cuteaznandrew
Daniel W. Posted July 17, 2006 Posted July 17, 2006 Get beta and scite 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]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now