jaberwacky Posted July 31, 2010 Posted July 31, 2010 You've declared xx and yy as long. This may not be the problem but it seems they should be int. Helpful Posts and Websites: AutoIt Wiki | Can't find what you're looking for on the Forum? My scripts: Guiscape | Baroque AU3 Code Formatter | MouseHoverCalltips | SciTe Customization GUI | ActiveWindowTrack Toy | Monitor Configuration UDF
Richard Robertson Posted August 1, 2010 Posted August 1, 2010 No, the variables being long has nothing to do with the issue. Also, your code isn't erroring because C++ isn't making the explicit memory checks that .Net and Authenticity's example did.
JohnOne Posted August 1, 2010 Author Posted August 1, 2010 (edited) Thanks for the explanation.I guess I thought that windows would spew an error.I accept that it currently just plain dosent work.Thanks all, for the help.EDIT:Also it spurred me on to make my own PixelFind, so Im happy now . Edited August 1, 2010 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Richard Robertson Posted August 2, 2010 Posted August 2, 2010 Your own pixel find would be faster too.
JohnOne Posted August 2, 2010 Author Posted August 2, 2010 It is, and not much more code either. I didnt particularly need it, but just happened to try it and couldnt get it going, and like most people, I just had to get a result one way or another, I'm quite obsessive that way. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
luthegame Posted May 27, 2017 Posted May 27, 2017 Hi @JohnOne, Did you find a solution? I am trying to capture X and Y in C# from: AutoIt.PixelSearch(0, 900, 1900, 800, 0xFFD74F, 5); Any idea how to do it? Regards,
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