Delphi: Start another program and clicks its buttons

Completed Posted 1 year ago Paid on delivery
Completed Paid on delivery

Implement in Delphi 11 (or compatible), a simple program that will take as an input a filename. The filename is a full path to another program, say, "c:\program files\foobar\[login to view URL]" and the program shall execute this file, test.exe. Let's call the started file as the client.

The program shall then monitor any windows the client creates and looks for buttons. Do notice that the new windows can be also created by another process that the client creates.

The button search shall work by finding the button caption text, and the buttons to look for are 'yes', 'ok', 'finish', 'start' and 'next'. If one such button is found, it is clicked by the program. If none of these are found, then, an Enter key is sent instead, which we will hope will trigger the client's default action.

If no such button is detected, we shall wait a maximum of 10 seconds and then terminate the client. After each button click (or Enter key send), there shall be a wait period of 5 seconds before the button search loop resumes again.

The program shall run as long as the above loop is running.

You can assume that while this program is running, the user is not doing anything, e.g. starting any other programs. You can also assume this program is started in a system stage where no other third party software are running in the system, i.e. only the Windows desktop is running. Therefore, any newly created windows with interesting buttons should be considered.

Delphi Windows API

Project ID: #36436086

About the project

6 proposals Remote project Active 1 year ago

Awarded to:

(5 Reviews)
4.2

6 freelancers are bidding on average $186 for this job

Spectromancer

Hello! I'm a Delphi programmer with 20+ years of experience. And I'm well familiar with WinAPI, so I can do this.

$145 USD in 4 days
(8 Reviews)
4.5
Devrits

Hey! I am skilled Delphi computer programmer with skills including Windows API and Delphi. Senior Delphi & Firemonkey Software Developer * Delphi and .NET/C# developer Services, skills and technologies: - Delphi so More

$150 USD in 4 days
(1 Review)
3.1
vw921vw

Hello, This seems like an interesting project. While I haven't touched Delphi in over 15 years (I actually once was a developer on RAD Studio) I have the skills to complete this task quickly and to your expectations. More

$250 USD in 3 days
(0 Reviews)
0.0