Problem with AppActivate.

  • Thread starter Thread starter BristolBloos
  • Start date Start date
B

BristolBloos

Hi,

Please see the following code that I am using:
-----------------------------------------------
AppActivate ("App1 ")
Do
Sleep 2000
Loop Until UCase(Left(GetWinInfo, 9)) = "App1 "
-----------------------------------------------

After this piece of code, I basically send some user input/action
on to the new window using SendKeys function.

If the application with the title "App1 " is minimised (not focus) then
my code is not working but if it has focus then it works. Is there
anything that I need to modify in the code above so that the
application window should be shown and my Sendkeys should work.

I hope I have explained it properly.

Thanks
 
Back
Top