0

I tried setting the browser as active windows and using SendKeys but it does not work. Is there an alternative ?

pixartist
  • 1,137
  • 2
  • 18
  • 40

1 Answers1

0

Did you try using the SetForegroundWindow Windows API call on the browser window? Refer to https://stackoverflow.com/a/8953524/1149773 for some sample code.

Community
  • 1
  • 1
Douglas
  • 53,759
  • 13
  • 140
  • 188