← Back to team overview

sikuli-driver team mailing list archive

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

 

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.