Is there a way to send keys to a program w/o activating the Window? Without using AppActivate and sendkeys? the problem with this is that the window keeps getting focus everytime appactivate is called. Is there a way to avoid that?
Thanks for the response. I wanted to know whether it is possible to send a text to a window from another application without activating it. I think snedkeys will not do it bcos the window has to be activated for it to work.
Look into the sendmessage api. I believe you can send info to another running application without activating the window. You should be able to find tutorials if you search it on any search engine.
Check out DDE (Dynamic Data Exchange) conversation in VB help. There are a bunch of Link... methods, events, and properties that do the job. Not sure if Microsoft still wants us utilize DDE technique.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.