← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680652]: how to use Region.onChange in pyton with jpype

 

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

    Status: Answered => Open

wu is still having a problem:
thx RaiMan but i see the
https://raiman.github.io/SikuliX1/javadocs/index.html the Class Region
sure have the method onChange

there is onchange Description:

public java.lang.String onChange​(java.lang.Object observer)

a subsequently started observer in this region should wait for changes
in the region and notify the given observer about this event

minimum size of changes used: Settings.ObserveMinChangedPixels for
details about the observe event handler: ObserverCallBack

for details about APPEAR/VANISH/CHANGE events: ObserveEvent

Parameters:
observer - ObserverCallBack
Returns:
the event's name
so i have no idea to use onchange in jpype and i will try 1.1.4 to do my work will if you have good slove with jpype onchange plz tell me thx

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