Forum > General

Control Console Application

(1/1)

katyan:
Hi,

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).

Ñuño_Martínez:
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.

Navigation

[0] Message Index

Go to full version