← Back to team overview

sikuli-driver team mailing list archive

[Question #700996]: Is it possible with sikuli to get the exact location of text (X and Y) within an image during runtime?

 

New question #700996 on SikuliX:
https://answers.launchpad.net/sikuli/+question/700996

Hi,

Is it possible with sikuli to get the exact location of text (X and Y) within an image during runtime even when the image on the screen has moved to another location but visible on the screen.

I'm able to use (getX, getY, getW and getH) coordinates of the image during runtime. I'm also able to get the position of text within this image by dividing, adding, multiplying or minusing the found coordinates.

The problem is when I scroll up or down, then run the program the location(x and y) changes and obviously the region changes also and I can't locate the text within this image.

My question is now.

Is it possible to use the found X and Y coordinates during runtime to locate the text within an image even when I scrolled up or down but the image is still visible on the screen? Or maybe there is or other methods to achieve this?


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.