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

Jeff_Vallis gave more information on the question:
Can you help me code a workaround,have tried to understand
http://sikulix-2014.readthedocs.io/en/latest/region.html#observing-
visual-events-in-a-region but its beyoind my skill set.

What I want to do is :-
replace App.focus("Tynon") and use  App_Focus_Failing() in the following :-


def If_Choose_App_Appeared():
    setRect(458, 187, 823, 657)
    while exists(Pattern("1490794202722.png").similar(0.90)): # Image with 
Choose Application Header
        print "Running Check_App_Focus - Found Choose Application"
        if exists("1490794220568.png"): # Cancel Button
            print "Check_App_Focus - Found Cancel"
            click(getLastMatch())

def App_Focus_Failing():
    # I want to set If_Choose_App_Appeared() to be running in background
    App.focus("Tynon")
    # I want to Stop If_Choose_App_Appeared() to be running in background

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to