RobinGBrown Posted September 20, 2007 Share Posted September 20, 2007 Hello All I want to move one of my AutoIT projects over to VB.NET but I'll be damned if I can find how to do the equivalent of GetPixelColor (or similar functions), I'm sure there must be something in VB.NET but searching the help files pulls up far too many useless results! Would someone mind pointing me in the right direction please? Which class(es) enable pulling data from the screen or a form? Thanks Robin Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 20, 2007 Moderators Share Posted September 20, 2007 Pixel* functions in the help file Control* or Win* functions for your other question Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Toady Posted September 20, 2007 Share Posted September 20, 2007 Example VB.NET code using Gdi32.dll and GetPixel().... really good example.http://www.bobpowell.net/eyedropper.htm www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding Link to comment Share on other sites More sharing options...
Zedna Posted September 20, 2007 Share Posted September 20, 2007 (edited) Download http://www.autoitscript.com/autoit3/files/...-v3.1.0-src.exe and look what API is used by PixelGetColor() and then search for this API function at Microsoft's MSDN. Edited September 20, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
RobinGBrown Posted October 1, 2007 Author Share Posted October 1, 2007 Thanks guys. Toady, that example was exactly the sort of thing I was looking for, great find. Link to comment Share on other sites More sharing options...
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