[Gambas-user] Send key to process
Rob
sourceforge-raindog2 at ...94...
Sun Apr 3 07:48:18 CEST 2005
On Sunday 03 April 2005 00:42, Andrea G. wrote:
> To send a character to a process I use PRINT #$hProcess, "a"; but I
> don't know how I can send the up, down, left and right keys.
> Is there a solution?
If you were running the program on a TTY, you could probably send it
vt100/ansi escape codes (something like chr(27) & "[A" through "[D")
but I don't think most programs will take that kind of input when
opened on a pipe rather than a tty.
Rob
More information about the User
mailing list