[1.0.1] multiMonitors jython dont find/click/... in screen --- fixed in 1.1.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
update: works with sikulix-
hi all :) hug :)
i work with 4 monitors with different resulutions.
all works in java not in Jython.
may is should try "beta version is available: SikuliX-1.0.1" ?
is use Sikuli 1.0.1
highlight() draw red border for each monitor correct but shows only the default monitor inside.
n = getNumberScreens()
for ScreenId in range(n):
reg.highlight(4) # red frame around for seconds
i tested with one image.
my image was not found and clicked at monitor 1,2,3, was found only monitor 1.
the java version works for me but the Jython version not. i would use the Jython version for webinar.
some additional informations:
('----------------- ScreenId = ', 0)
('reg: x, y, w, h = ', 0, 0, 1600, 900)
('reg: x, y, w, h = ', 0, 0, 1600, 900)
[log] highlight S(0)[0,0 1600x900] E:Y, T:3,0 for 4.0 secs
('----------------- ScreenId = ', 1)
('reg: x, y, w, h = ', 320, -720, 1280, 720)
('reg: x, y, w, h = ', 320, -720, 1280, 720)
[log] highlight S(1)[320,-720 1280x720] E:Y, T:3,0 for 4.0 secs
('----------------- ScreenId = ', 2)
('reg: x, y, w, h = ', 1600, -1080, 1920, 1080)
('reg: x, y, w, h = ', 1600, -1080, 1920, 1080)
[log] highlight S(2)[1600,-1080 1920x1080] E:Y, T:3,0 for 4.0 secs
('----------------- ScreenId = ', 3)
('reg: x, y, w, h = ', 1600, 0, 1366, 768)
('reg: x, y, w, h = ', 1600, 0, 1366, 768)
[log] highlight S(3)[1600,0 1366x768] E:Y, T:3,0 for 4.0 secs
print (Env.getSikuliV
n = getNumberScreens()
for ScreenId in range(n):
print(
reg = Screen(ScreenId)
print("reg: x, y, w, h = ", reg.x , reg.y, reg.w, reg.h)
x = reg.x
y = reg.y
topLeft = Location(x, y) # equivalent to
topLeft = reg.getTopLeft()
botRight = reg.getBottomRi
h = botRight.y - y
w = botRight.x - x
#reg.h = theWidth # equivalent to
#reg.setH(h)
#print(" x, y, w, h = ", x, y, w , h)
reg.setH(h)
reg.setY(y)
#print("")
print("reg: x, y, w, h = ", reg.x , reg.y, reg.w, reg.h)
#reg.
# if ScreenId != 1:
# continue
reg.
#reg.hover(3)
# reg.selectRegio
# SCREEN = reg
#Screen(
# setROI(reg)
#mouse = new DesktopMouse()
# reg.setAutoWait
if reg.exists(
sleep(1000)
description: | updated |
description: | updated |
summary: |
- multiMonitors jython dont find/click/... in screen + [1.0.1] multiMonitors jython dont find/click/... in screen --- fixed in + 1.1.0 |
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
so it is solved now?