← Back to team overview

sikuli-driver team mailing list archive

[Question #674004]: Query on sikuli resolution support

 

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

Hello,

Im using Sikuli v1.1.3 and Java v9. Can you pls help me on the below queries 

1)	When we execute sikuli script with 1920x1080 resolution it works fine (able to click appropriate image). But when I tried to increase the resolution to 3840x2160, the script is not working. Tried changing the Java v10 seeing the same problem. 

2)	When I checked the screen bounds Width = 1280 and height = 720 even though the resolution is 1920x1080 / 3840x2160, Not sure why it is 1280x720

1920x1080 --- Logs (Working - Pass Case)

M[298,121 74x59]@S(S(0)[0,0 1280x720]) S:0.84 C:335,150 [389 msec]
L(335,150)@S(0)[0,0 1280x720]
[error] RobotDesktop: checkMousePosition: should be L(335,150)@S(0)[0,0 1280x720] but after move is L(336,150)@S(0)[0,0 1280x720] Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin.
[log] CLICK on L(335,150)@S(0)[0,0 1280x720] (539 msec)


3840x2160 ---- Logs (Not Working - Fail Case)

M[224,377 74x59]@S(S(0)[0,0 1280x720]) S:1.00 C:261,406 [249 msec]
L(261,406)@S(0)[0,0 1280x720]
[error] Location: outside any screen (0, 720) - subsequent actions might not work as expected
[error] RobotDesktop: checkMousePosition: should be L(261,406)@S(0)[0,0 1280x720] but after move is L(0,720) Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin.
[log] CLICK on L(261,406)@S(0)[0,0 1280x720] (547 msec)


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