Forum > General

Control Console Application



Is there a way to control console application on Windows?

I need to  send key strokes to other program which runs in a console. The main goal is to control console application from lazarus GUI program (simulate key strokes).

I think the best way to use console applications is using pipes. Read about the TProcess class. Here you have a tutorial explaining how to use some of it's characteristics.


[0] Message Index

Go to full version