Re: [Sikuli-driver] [Question #708624]: Sikuli guide in a multi-monitor environment

2023-12-20 Thread Launchpad Janitor
Question #708624 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708624

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

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

___
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 #708624]: Sikuli guide in a multi-monitor environment

2023-12-06 Thread DI BENEDETTO
Question #708624 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708624

DI BENEDETTO posted a new comment:
this code is working:
import org.sikuli.script.SikulixForJython
from sikuli import *
from guide import *
ImagePath.setBundlePath("C:\\Users\\LudovicDiBenedetto\\Documents\\wrk\\sikuli\\img")
res=Screen(2).find("totoIsBack")
g3=Guide(res)
g3.text("textToto")
g3.showNow(3)


It needs to be customized to get the same behaviour than the native show 
function (for example with this code the text container size is not dynamic 
depending on the text size, it leads to a truncated display)
I will look at it if I have time. In the meantime every elegant and robust 
solution are welcome : )

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

___
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 #708624]: Sikuli guide in a multi-monitor environment

2023-12-05 Thread DI BENEDETTO
Question #708624 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708624

DI BENEDETTO posted a new comment:
Modifying the primary screen is a solution but few elegant. A solution
via sikuli is welcome : )

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

___
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 #708624]: Sikuli guide in a multi-monitor environment

2023-12-04 Thread DI BENEDETTO
Question #708624 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708624

DI BENEDETTO posted a new comment:
unfortunately, it does not work

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

___
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 #708624]: Sikuli guide in a multi-monitor environment

2023-12-04 Thread DI BENEDETTO
Question #708624 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708624

DI BENEDETTO posted a new comment:
I was looking by curiosity  to the recent other tickets and one of their 
answers could be a solution. 
Maybe simply use(Screen(2))  
I would try it tomorrow. 
If it is working, it could be nice to implement it in guide.

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

___
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 #708624]: Sikuli guide in a multi-monitor environment

2023-12-04 Thread DI BENEDETTO
Question #708624 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/708624

DI BENEDETTO posted a new comment:
Context : windows 10, sikulixapi-2.0.5

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

___
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


[Sikuli-driver] [Question #708624]: Sikuli guide in a multi-monitor environment

2023-12-04 Thread DI BENEDETTO
New question #708624 on SikuliX:
https://answers.launchpad.net/sikuli/+question/708624

Hello,

I can click on an element on my third screen but I can not use the text 
function in my third screen. Is there a code that could achieve that please ?

you will find below my code based on sikuilxapi

>>> sc1=Screen(0) => OK
>>> sc2=Screen(1) => OK
>>> sc3=Screen(2) => OK
>>> res=sc3.find("button") => OK
>>> myText=text(res,"fdsfsfd2") => OK
>>> click(res) => OK
[log] CLICK on L[2506,190]@S(2) (539 msec)
>>> show(5) => KO but ok if res is in the main screen by using sc1
u'timeout'

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

___
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