[1.1.4] FindFailed Handler not working as documented

Asked by matteoa on 2019-05-02

hello all,
I have a script with these lines:
    setROI(vncReg.getX(),vncReg.getY(),vncReg.getW(),vncReg.getH())
    FindFailed.setHandler(HndlFindFailed)
    use() # reset the global SCREEN object to take over the handler setting
what happens is that the handler is not visited even if in the vncReg there is a findfailed for some reason.

Any idea why?
I've checked https://answers.launchpad.net/sikuli/+question/670456 but found no clue....
thanks in advance for help
this is my setup:
1.1.4-SNAPSHOT-#287-2019-04-18_07:09/Windows10.0/Java8(64)1.8.0_201-b09

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-05-02
Last reply:
2019-05-17
matteoa (matteoa) said : #1

hello,
no solution for this?
There are alternatives for a global findfailed handler?
Thanks in advance

RaiMan (raimund-hocke) said : #2

uuuuuupps, sorry :-(

your question was moving out of sight ;-)

I will check asap now, but a solution might only be available during Monday.

Can you help with this problem?

Provide an answer of your own, or ask matteoa for more information if necessary.

To post a message you must log in.