mtettmar wrote:This means that either the haystack or needle image files were not found, or if a window name was specified the window wasn't found, or the needle is larger (in one dimension or both) than the haystack.
Thanks Marcus, it good to know that after using the FindImagePos> command, a negative value for numfound means one of those things... however in the Help File, all it says is:
Help File Topic for FindImagePos wrote:NumFound returns the number of matches found.
There is no mention that it could actually return -1 which signals an error and the conditions that could have caused the error.
Please consider adding this info to that Help File topic as the Help File is the first place a user should turn to when having issues with a command... and not very many users read these forums daily... though I highly recommend it!
Thanks and take care