Basically i want to get a return value from run. I tried stdout but i guess i must be missing something.
So, here is the scenerio: My launchy app runs the plugin. And i want the plugin to return a value back to app.
Foe example, say the plugin is cal.exe
So i'll call cal.exe 12+13
and cal.exe will return me 25
here is the code i tried..
app (not the whole, just ahk script for it)
#Include, StdoutToVar.ahk
MsgBox, % StdoutToVar_CreateProcess("calcz.ahk 12+15")
and for the plugin calcz.ahk
Loop, %0%
{
global param := %A_Index%
break
}
FileAppend, %param%, *
A lil help please?




