← 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 => Open

Jeff_Vallis is still having a problem:
Today the box was on the screen and again the process hang (waited) for cancel to be clicked manually.
And

"Running Check_App_Focus - Found Choose Application" Did Not Appear

so it hangs at :-
 App.focus("Tynon")

and does not get to :-
        if not If_Choose_App_Appeared():

So from your comments it looks like it impossible to get round this within one Sikuli Script
I am going to try running 2 scripts at the same time 
1.Normal Script which includes the App.focus
2.Second Script - executed from command line to run in background the :-
def If_Choose_App_Appeared():

Second script will check text file and close if told from text file.
Sounds Dangerous but could be fun and will keep me occupied tomorrow

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