← Back to team overview

sikuli-driver team mailing list archive

[Bug 1272209] Re: [request] App.focus() should work with fullscreen apps too

 

** Changed in: sikuli
    Milestone: 2.0.0 => 2.1.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1272209

Title:
  [request] App.focus() should work with fullscreen apps too

Status in Sikuli:
  In Progress

Bug description:
  *** workaround ***

  simulate the system's app switching keyboard and/or mouse actions
  e.g. on Windows alt-tab

  ----------------------------------

  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!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1272209/+subscriptions


References