Watch, Follow, &
Connect with Us

ID: 27218, Sending keyboard input and text to another process

by Peter Below Email: Anonymous


This project provides a class that allows sending keyboard input or text to a window, even if that window belongs to another process.
Download Details
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 7.0  to 12.0 449 downloads
Copyright: No significant restrictions


Size: 297,602 bytes
Updated on Sun, 17 Jul 2011 00:53:42 GMT
Originally uploaded on Tue, 01 Sep 2009 23:34:13 GMT
SHA1 Hash: 5E672D56FDB95C5D84C742FA9EC6001CE8657102
MD5 Hash: FC97894AC3CA061E3FCE1F3DDC8EB305

    Explore the files in this upload

Description
Sometimes it is necessary to remote-control another application that cannot be modified and that does not offer an API for this purpose (like OLE automation). About the only option remaining in such case is to send fake keyboard input to the application to simulate user input.
This upload contains a unit with a class that provides methods for this task. Input can either be sent to a specific control/window in the target application (if the window handle is known), or to the current foreground window.
The test application provided is a D2009 project, the TPBKeyFeeder class has only been tested using D2009 but it should compile without problems in older versions at least back to Delphi 7.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC02