← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #578456]: [1.1.1] macOS: App.focus: Occasionally: Where is osascript

 

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

    Status: Answered => Solved

Jeff_Vallis confirmed that the question is solved:
This is what I have done after Finding some code using Python Thread : not that I understand the Syntax of the call
Handling the Box problem - I have added to my coding for Blocked Screen which has many checks -like Flash Crashing any lots of others that I have encountered in the last 2 years - Thanx for your assistance

Posted in case anyone searches for App.focus

def Thread_App_Focus_Failing(v_Sub_Open_Which_App): # This will be Threaded
    App.focus(v_Sub_Open_Which_App)

def App_Focus_Failing():
    global Sub_Open_Which_App
    import thread
    thread.start_new_thread(Thread_App_Focus_Failing, (Sub_Open_Which_App, ))

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