← Back to team overview

sikuli-driver team mailing list archive

[Bug 1008113] Re: Windows XP: bug on focus() or switchApp?

 

I see the same behavior with Manager and Firefox. I'm on Win7SP1 32bit.
Used the same sample code in comment #3 and focus does not switch back
and forth between the applications. However, if i switch between Notepad
and VLC Media Player, it works fine.

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

Title:
  Windows XP: bug on focus() or switchApp?

Status in Sikuli:
  Invalid

Bug description:
  Is there some bug with focus() or switchApp() handled on windows? I
  noticed that if I use the same method on mac it works find and puts
  the application in the front, but when using it on windows it does
  not.

  what I did was put the application (ff) behind a different application (ie) and want to get a focus on it so it becomes the application in front.  
  code: 
  switchApp('firefox')

  or

  ff = App('firefox')
  ff.focus()

  - another q, is that if the application is minimized (win or mac),
  would focus() also work and open the application and put it in
  focus()?

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


References