This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: simulating console input
On 03.09.2010 10:53, Peter MÃnster wrote:
So my questions are:
- Is it possible to write such a program: ConsoleKeypressSimulator.exe ?
Try http://www.autohotkey.com/
Or try VBScript/JScript:
$ cat command.js
var process = WScript.CreateObject("WScript.Shell");
process.Run("i-use-gui-command-here --with -a --few args");
WScript.Sleep(1000); process.AppActivate(process.ProcessID);
process.SendKeys("{TAB}{TAB}{TAB}{ENTER}");
$ cmd /c command.js
- If yes, what is the degree of difficulty to write that?
Try upper.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple