Problem with AppActivate.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top