Author: Sean Last Modified: 20081005
Redirects the output of a command or application into one of the script's variables.
StdoutToVar_CreateProcess(sCmd, bStream = "", sDir = "", sInput = "")
StdoutToVar_CreateProcessCOM(sCmd, bStream = False, sDir = "", sInput = "")
For more details of the functions's parameters and return value, please see it's source code.
For update's details and remarks related to the functions, please see the AutoHotkey Forum: http://www.autohotkey.com/forum/topic16823.html
nonexistent
; #Include StdoutToVar.ahk #NoEnv SendMode Input SetWorkingDir %A_ScriptDir% MsgBox % StdoutToVar_CreateProcess("ipconfig.exe /all") MsgBox % StdoutToVar_CreateProcess("ping.exe www.autohotkey.com", True)