← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #698529]: Do.popup() returns incorrectly

 

Question #698529 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698529

    Status: Open => Answered

RaiMan proposed the following answer:
checked with this in your setup:

def mousePos():
    foo = "test %d: %s" % (n, atMouse())
    result = Do.popup(foo, 1)
    print result, foo
    return result

for n in range(50):
    if mousePos(): break

no problems, works as expected, even when moving the mouse around or
even when clicking somewhere

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