← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #187435]: Can't get onChange event handler to run

 

Question #187435 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/187435

RaiMan posted a new comment:
--- scrpt = new SikuliScript();
Sorry, my fault. Mixed things up myself.
As long as you only use popup() and input(), this should not be a problem.
But you could use javax.swing.JOptionPane directly (nothing else is done in popup and input).

--- sleep
You can use scr.wait((double) number_of_seconds) (a Region method)

--- going to Jython
there seems to be one critical function:
reg = Region.create(other_region)
where other_region is of class Region 

where the code denotes
 //TODO: determine if the caller is Jython

and then it jumps into Jython and comes back with a Region object, that
was created in the Jython context. I am not really sure, what is
happening there. I will make some tests myself and come back.

Meanwhile you might look for usages like
reg = Region.create(other_region)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.