How would I make a program that can insert text into a text field in another program? Or click a button in another program?
gsingh2011
0
Junior Poster in Training
Recommended Answers
Jump to PostWhat you would need there - and you are best off just googling for this - is a thread/process-specific keyboard hook. Essentially allowing you to monitor/insert keyboard events into a running application's queue.
Jump to PostYou don't need hooks for that...
That's just an incredibly unhelpful and uninformative post.
Of course you don't need to use hooks, they aren't the only choice but it seems you don't have/know an alternative anyway. So I will suggest another, the SendInput win32 function, which may be appropriate …
All 6 Replies
Stinomus
11
Junior Poster
gsingh2011
0
Junior Poster in Training
marco93
-87
Junior Poster
MosaicFuneral
commented:
Aren't you just full of information.
-1
mvmalderen
2,072
Postaholic
Stinomus
11
Junior Poster
Stinomus
11
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.