Sounds like you are in need of OCR if you want to be able to use arbitrary screen coords as a lookup constraint.