New question #656527 on Sikuli:
https://answers.launchpad.net/sikuli/+question/656527

I am repeatedly getting Location: outside any screen error although the 
location in question well within the screen.

To test what exactly is happening, i checked whether sikuli detected my extra 
monitor and what it figures its bounds to be:-
print(getNumberScreens())
print(Screen(1).getBounds())

Got the following output:-
2            # IDE detects 2 monitors - one laptop and one external - which is 
correct
java.awt.Rectangle[x=-271,y=-1080,width=1920,height=1080]         #IDE detects 
the dimensions of my external monitor correctly

However, when i try make it perform an action in the region where i was having 
this trouble with the following line:-
l = Location(1496,705)
hover(l)

It throws the error - [error] Location: outside any screen (1496, 705) - 
subsequent actions might not work as expected

Why is it finding location (1496, 705) outside any screen? It is well within 
the bounds of the S1 that it detected in the previous line.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to