← Back to team overview

sikuli-driver team mailing list archive

[Question #191723]: Problem with Multi-Monitor in Windows XP

 

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

I connected second monitor to my laptop. But Sikuli can't recognize it.

This is my script:

g=Screen(0)
h=Screen(1)
print g.getBounds()
print h.getBounds()


And here is the error report:

File "C:\DOCUME~1\2rs\LOCALS~1\Temp\sikuli-tmp7239987601462159342.py", line 2, in 
 h=Screen(1)
 File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Screen.py", line 17, in __init__
 at org.sikuli.script.Screen.getBounds(Screen.java:80) 
at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 

java.lang.ArrayIndexOutOfBoundsException: java.lang.ArrayIndexOutOfBoundsException: 1



Is there a spesial settings for connecting the second monitor for Sikuli or it's a Bug?



-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.