autohotkey - auto hot key and verifying responce -
i automating simple text based .exe running in cmd window on win 7
we have scripts written in auto hot key
it's kinda blind man typing them in, no error checking whatsoever auto hot key reliable, need smarts based upon returned
any way auto hot key monitor "ok" after every sendinput? not seeing capability
an example or suggestion great
thanks, jeff
there few places can start.
first, take @ process
in docs, can pid
of application. can using autohotkey's own run
command.
second, working on cmd window can tricky. there few ahk libraries out there can use:
stdouttovar
- grabs console's output text variable can parse using ahk string functions.consoleapp
- redirect , capture standard output.cmdret_stream
- stream , store cmd output
there not simple built-in functions in ahk easily; have resort elaborate implementations of libraries (or build own).
Comments
Post a Comment