[1.0.1] Windows: Bug recognition dual monitor --- fixed in 1.1.0 final version
Hello, I can't make sikuli work properly with my second screen.
I have a laptot with my main screen on its right but every time i try to hover onto the laptop's screen, i have many issues.
for example with this code :
scr = Screen(1) #secondary
r = scr.selectRegio
hover(r)
I will have the content of the right (main) screen frozen in the left screen (the interface of region selection will be on the left alright, but with the right screen's content), and then the mouse will hover to the right screen in the center of the region i selected.
also, if i try something like :
hover(Location(
Instead of going to the second screen, it'll just 'loop' on the main, and go to (1920 - 500 ; 500), => for 1920 < x < -1920 i'll got a NullPointerExce
I don't really now what i'm missing ,so i'll throw some intel hoping it'll be enough:
java.awt.
java.awt.
2 #getNumberScreens()
Yet, if i ask the location of the mouse when i'm on the second screen, it'll answer correctly about the position. But if i ask to go to that position the mouse will go to the main screen
x = Env.getMouseLoc
y = Env.getMouseLoc
sleep(1)
hover(Location(
Thanks in advance for your help !
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: