jaberwacky Posted July 31, 2010 Share 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: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Richard Robertson Posted August 1, 2010 Share 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. Link to comment Share on other sites More sharing options...
JohnOne Posted August 1, 2010 Author Share 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. Link to comment Share on other sites More sharing options...
Richard Robertson Posted August 2, 2010 Share Posted August 2, 2010 Your own pixel find would be faster too. Link to comment Share on other sites More sharing options...
JohnOne Posted August 2, 2010 Author Share 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. Link to comment Share on other sites More sharing options...
luthegame Posted May 27, 2017 Share 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, 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