sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32821
[Bug 1462935] Re: [1.1.0] Jython: Only recognise two monitors
Seems to be a problem when running Jython scripts from IDE.
could you please start the IDE from command line using
runsikulix.cmd -d 3 -c
and then in the IDE run the command:
JScreen.showMonitors()
... and paste the output here. Thanks.
** Summary changed:
- Only recognise two monitors
+ [1.1.0] Jython: Only recognise two monitors
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1462935
Title:
[1.1.0] Jython: Only recognise two monitors
Status in Sikuli:
New
Bug description:
I have three monitors at windows 7 pro, 64 bit. I use Sikuli 1.1.0 (sikulixsetup-1.1.0-20150607.230955-97-forsetup.jar). The middle monitor is monitor 1 with a resolution 1920x1200. The left monitor is monitor 2 with a resolution 1280x1024. The right monitor is monitor 3 with a resolution 1920x1200.
I run this code:
Screen(0).highlight(3) // right monitor no. 3 highlighted
Screen(1).highlight(3) // left monitor no. 2 highlighted
Screen(2).highlight(3) // left monitor no. 2 highlighted
When the code run, first the right monitor no. 3 get highlighted, than
the left monitor no. 2 get highlighted and finally the left monitor
no. 2 get highlighted again. The middle monitor no. 1 never get
highlighted.
I get following messages:
[log] highlight S(0)[0,0 1920x1200] E:Y, T:3,0 for 3.0 secs
[log] highlight S(1)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
[log] highlight S(2)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
For the left and the middle monitor I get negativ coordinates.
Anyway there are problems to recognise images. I run following single
line code for each montior:
click( )
On the right monitor no. 3 Sikuli regonise the images.
On the middle monitor no. 2 I get an error:
[error] script [ Unbenannt ] stopped with error in line 1
[error] FindFailed ( can not find 1433753739736.png in R[0,0 1920x1200]@S(0) )
On the left monitor no. 2 I get an error:
[error] script [ Unbenannt ] stopped with error in line 1
[error] FindFailed ( can not find 1433753576223.png in R[0,0 1920x1200]@S(0) )
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1462935/+subscriptions
References