Quote:
Originally Posted by mgpai
Code:
var stdOut = callSync("cmd", "/c", "dir/b", "\\");
var array = stdOut.split("\r\n"); // Splitting string by lines vill result in an array
var X = array[0];
var Y = array[1];
alert("X : " + X + "\r\nY : " + Y);
|
thank you very much again
I was able to read the <stdout stream> [au3 ---> JD2] but now I'm trying to do the opposite and I'm having some problems.
From what I understand in au3 I use "StdoutRead" but I have 2 doubts:
1) - (au3) i need "process_id" and i can't understand how to spot it.
I should "run" the JD script ... but the JD script has launched the au3 script ....
2) - in event scripter ... there is an equivalent to ConsoleWrite ?
In short, in the JD script I would like to write a constant to be read by au3 which will be called by the aforementioned script. is such a thing feasible?
(jd script
schematized)
Code:
*** var / func/ etc ***
var K = " test or something"
*----> {stdout stream ("K")}
{ holaa = callSync( test.au3 ) <---- read the stdout for grab "K"
alert ( holaa) <---- I see the final result / continue with the result of au3
*** etc ***