← Back to team overview

sikuli-driver team mailing list archive

[Question #708013]: getCenter on a user coded region returns a clickpoint on the bottom right of the region

 

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


I've defined a region using the Region command and when I do a highlight of the region is show corrrectly. But when I want to click on the region I use the gtCenter call but the clickpoint for the region is shown at the bottom right corner and when I try to do the click it does not activate the region.

I expect the getCenter command would return co-ordinates at the center of the region and when I click on this co-ordinate it would activate the region on the screen

My question is whether the getCenter call works with regions created with the Region call?

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