Dezypher Posted January 18, 2008 Share Posted January 18, 2008 Hello all, I am trying to figure out how to send key strokes to a different window. So I have 2 notepad windows open and one of them is active...i want to send a some text to the other notepad window, but cannot figure out how to accomplish this. I can find the pid for each window and can activate them based off this pid but dont know how to send text to the other window without activating it first. thank you for your help Link to comment Share on other sites More sharing options...
BigDod Posted January 18, 2008 Share Posted January 18, 2008 You could try using ControlSend Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Dezypher Posted January 18, 2008 Author Share Posted January 18, 2008 You could try using ControlSendthank you that sounds like it would work could you give an example...im trying to use a pid based entry but i am getting an error in the scrip...I have found where to see the handle in the window info viewer tool..but cannot send anything to this handle...is there a way to use the window PID instead...or can you send me an example of how to use the handle...thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now