Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15634

Find image on screen.

$
0
0
No idea where to start here. I've got a picture in a file, and I know that this image is somewhere on the screen (actually, multiple somewheres on the screen), and I'm trying to find the fastest way to locate where on screen these are. These are not in my form, they're on the main screen. I'm ultimately looking for any random point within it (actually within each one) that I'll be trying to get the program to click on (but, of course, it has to where to click).
Obviously once I know where the locations are I plan to store them in an array of Rectangle and then just randomly pick numbers between the various coords. The part I need help with is figuring out what I should be looking at to get a copy of the screen to examine and the fastest way to locate the image I have within that screen capture. What should I be looking at?

Viewing all articles
Browse latest Browse all 15634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>