RunWait Output of command
Posted: 12 Mar 2014, 09:26
Hi all,
Autohotkey lacks the support to run a command en retrieve the output.
something like:
and the outputVAR would hold the ping results as result of running the ping command from my example
now i generally do something like
or use a lib to do this but the ones i used never were perfect.
is this something we can expect in the future? i'm really missing this in almost all my AHK projects.
Autohotkey lacks the support to run a command en retrieve the output.
something like:
Code: Select all
RunWait, %ComSpec% /c ping 127.0.0.1, <PIDvar>, <outputVAR>
now i generally do something like
Code: Select all
RunWait, %ComSpec% /c ping 127.0.0.1 > results.log
Fileread, resultsvar, results.log
Filedelete, results.log
is this something we can expect in the future? i'm really missing this in almost all my AHK projects.