← Back to team overview

sikuli-driver team mailing list archive

[Question #242661]: .focus() won't work with fullscreen app

 

New question #242661 on Sikuli:
https://answers.launchpad.net/sikuli/+question/242661

I'm using a full screen GUI along with a simulator application. I open the simulator successfully, then I manipulate the GUI. Later in the script when I need to access the simulator, it's hidden behind the GUI so .focus() does not work.

With simApp = App("BodyTom Simulator") declared at the top I've attempted:
1. simApp.focus()
2. if not simApp.window():
        openApp(simApp)
        simApp.focus()
    else:
       simApp.focus()


P.S. I am running on Windows. 

Any help would be greatly appreciated!

Thanks! 

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.