Re: Can delphi open and fill in fields of another app.

[ DelphiLand Discussion Forum ]

Posted by Lontek on December 16, 2002 at 15:38:20:

In Reply to: Re: Can delphi open and fill in fields of another app. posted by webmaster Guido on December 16, 2002 at 02:31:12:

: : I have a program on my machine that has two fill-in fields that I have to type info into to get a desired result. My question is: Is it possible to write a Delphi exe that will open the above program
: : and automatically put predefined info into the fill-in-fields without me physically typing on the keyboard?
-------------------

: Starting an external application is not difficult; have a look at the code examples in DelphiLand's source-code section.
:
: Filling in fields of the other application is possible if you can navigate to those fields with the keyboard. You can "send keys" to another window, but it's not simple, there is no pre-defined procedure or function for this in Delphi. But I've seen some freeware components and code on the WWW. Don't remember exactly how it was called, but you should be able to locate it by searching for the terms "sendkeys", "sendkey" or "send keys". Maybe let us know on this forum if you can't find it, and we'll try to find it again.

Thanks! I typed in Delphi Sendkeys at the Google search prompt and I think I found some useful stuff.


[ DelphiLand Discussion Forum ]