Sikuli not detecting multiple displays

Asked by Ajani Wormley

I am currently running Sikuli on Windows 7. I seem to be having an issue in which multiple displays are not detected.

For example, with 2 monitors:
the function getNumberDisplay() == 2
but Screen(0) and Screen(1) are both my default screen!

the code

hover(Screen(0))
wait(2)
hover(screen(1))
wait(2)
#and just to try and break it
hover(screen(2))

All of this moves the mouse cursor to the center of my laptop screen. The external monitor is never selected.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

using 1.1.0 ?
http://sikulix.com

Can you help with this problem?

Provide an answer of your own, or ask Ajani Wormley for more information if necessary.

To post a message you must log in.