sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32591
Re: [Bug 1459131] Re: multiMonitors jython dont find/click/... in screen
yes its solved :)
BTW images inside sikuli IDE looks darker than before. but it works :)
great.
thanks.
Am 27.05.2015 10:25 schrieb "RaiMan" <rmhdevelop@xxxxxx>:
>
> so it is solved now?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1459131
>
> Title:
> multiMonitors jython dont find/click/... in screen
>
> Status in Sikuli:
> New
>
> Bug description:
> update: works with sikulix-1.1.0-20150524.231037-84 (update at
> 15-05-27_09-56)
>
> 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.getSikuliVersion() )
> n = getNumberScreens()
> for ScreenId in range(n):
> print("----------------- ScreenId = ", ScreenId)
> 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.getBottomRight()
> 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.setAsScreen()
> # if ScreenId != 1:
> # continue
> reg.highlight(4) # dud red frame around for seconds
> #reg.hover(3)
>
> # reg.selectRegion("middle of region")
>
> # SCREEN = reg
> #Screen(0).setROI(reg)
> # setROI(reg)
> #mouse = new DesktopMouse()
> # reg.setAutoWaitTimeout(100000)
>
> if reg.exists("1432671701727.png"):
> print("found at ScreenId = " , ScreenId)
> reg.hover("1432671701727.png")
> sleep(1000)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/sikuli/+bug/1459131/+subscriptions
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459131
Title:
[1.0.1] multiMonitors jython dont find/click/... in screen --- fixed
in 1.1.0
Status in Sikuli:
Fix Committed
Bug description:
update: works with sikulix-1.1.0-20150524.231037-84 (update at
15-05-27_09-56)
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.getSikuliVersion() )
n = getNumberScreens()
for ScreenId in range(n):
print("----------------- ScreenId = ", ScreenId)
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.getBottomRight()
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.setAsScreen()
# if ScreenId != 1:
# continue
reg.highlight(4) # dud red frame around for seconds
#reg.hover(3)
# reg.selectRegion("middle of region")
# SCREEN = reg
#Screen(0).setROI(reg)
# setROI(reg)
#mouse = new DesktopMouse()
# reg.setAutoWaitTimeout(100000)
if reg.exists("1432671701727.png"):
print("found at ScreenId = " , ScreenId)
reg.hover("1432671701727.png")
sleep(1000)
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459131/+subscriptions
References