Re: [Sikuli-driver] [Question #669171]: Cannot capture other screen, shoud this be bug report?

2018-11-19 Thread RaiMan
Question #669171 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669171

Linked to bug: #1803999
https://bugs.launchpad.net/bugs/1803999
"[doc] scripting in multi-monitor environments - how to to select monitors"

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #669171]: Cannot capture other screen, shoud this be bug report?

2018-05-24 Thread CoLd As IcE
Question #669171 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669171

CoLd As IcE posted a new comment:
yeah, its nice when you have only 1 monitor ^^, in a way that you have to do 
that would help a lot if you have two monitors at least then u know u have to 
declare a screen to use program.
but keep it as it is, as long as you document it better

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #669171]: Cannot capture other screen, shoud this be bug report?

2018-05-20 Thread RaiMan
Question #669171 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669171

RaiMan posted a new comment:
--- had to look hard ;(
Ok, understood and agreed.

The problem is, that the standard usage of SikuliX in the IDE using
Python language has the convenience feature, that undotted function
usage automatically are run against the standard Screen(), which
normally is the primary monitor.

Without this convenience feature you would have to say:
scr = Screen(0)
scr.click(someImage)

I will add some notes to the docs for people who are not aware of the
object oriented programming scenario.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #669171]: Cannot capture other screen, shoud this be bug report?

2018-05-20 Thread CoLd As IcE
Question #669171 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669171

CoLd As IcE posted a new comment:
@RaiMan you answered the same time i found out what i did wrong :)
maby in the futrure let it be easyer to find how to use secound monitor, had to 
look hard ;(

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #669171]: Cannot capture other screen, shoud this be bug report?

2018-05-19 Thread CoLd As IcE
Question #669171 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669171

Status: Answered => Solved

CoLd As IcE confirmed that the question is solved:
seems like i have to use

region.

or screen(1).

hard to find that out ;(

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #669171]: Cannot capture other screen, shoud this be bug report?

2018-05-19 Thread RaiMan
Question #669171 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669171

Status: Open => Answered

RaiMan proposed the following answer:
you have to tell SikuliX, that you are searching on Screen(1) or in a
region on Screen(1):

scr1 = Screen(1)
matchOnSecondMonitor = scr1.find(someImage)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #669171]: Cannot capture other screen, shoud this be bug report?

2018-05-19 Thread CoLd As IcE
Question #669171 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669171

CoLd As IcE posted a new comment:
SCREEN = Screen(1)
Screen(1)
print Screen.getBounds(1)
Region(1925,11,1890,979)
print getBounds()
find("1526736761414.png") secound monitor


java.awt.Rectangle[x=1920,y=0,width=1920,height=1080]
java.awt.Rectangle[x=0,y=0,width=1920,height=1080]

[error] script [ BOTing ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File 
"C:\Users\COLDAS~1\AppData\Local\Temp\Sikulix_1242605189\sikuli-4733532879306360584.py",
 line 6, in  find("1526736761414.png") Line 2782, in file Region.java 
at org.sikuli.script.Region.wait(Region.java:2782)
at org.sikuli.script.Region.find(Region.java:2329)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
org.sikuli.script.FindFailed: FindFailed: 1526736761414.png: (114x106) in 
S(0)[0,0 1920x1080] E:Y, T:3.0 Line 2782, in file Region.java

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #669171]: Cannot capture other screen, shoud this be bug report?

2018-05-19 Thread CoLd As IcE
Question #669171 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669171

Status: Answered => Open

CoLd As IcE is still having a problem:
do i do this inn the ide?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #669171]: Cannot capture other screen, shoud this be bug report?

2018-05-17 Thread masuo
Question #669171 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669171

Status: Open => Answered

masuo proposed the following answer:
This document should be useful for you.

http://sikulix-2014.readthedocs.io/en/latest/screen.html?highlight=SCREEN
#multi-monitor-environments

http://sikulix-2014.readthedocs.io/en/latest/screen.html?highlight=SCREEN
#screen-setting-getting-attributes-and-information

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp