|
Hello everyone,
I would like to write a script that will read several ascii characters directly into the STDIN, so it will be like I pressed these values in my keyboard, in another window.
for exemple, I will insert the ascii value of "tab" into the STDIN, and the focus will be changed in another window (let's say control panel..).
I thought I could simply write into the STDIN, but I haven't made it.
Here what I tried to do:
open (STDIN);
# The function chr() is doing the action of an ASCII value.
print STDIN "chr(9)";
system("start control panel");
close(STDIN);
I will be happy to read a solution...
thanks!
|
|
|
|
|
|
|
|