Hello everybody,
I've a question regarding the output windows. I made a little scheme for a scripting language used by a game (the game itself didn't provide any good editor tool, so I made a little scheme for the sake of easy editing and reading). Now, how the code is "compiled" (I know it isn't real compiling to machinecode, but so it is described by them), is by providing the parser (an exe) the right parameters. So far no problem. Now, I wish to get the result of the parser in the main output window (otherwise you don't know wheter it parsed good or with errors). Problem is that I don't know how to get that output. I know that the parser produces a "results.txt" file in its directory with all the things it did and what the final result was. Now, the question is, how do I get that file's contents? Just reading that file is enough. If I may add: the parser is closed source, so except for the results.txt file I can't add any other means to get the results.
Even a batch file is good for me (first execute the parser then read the file, finally return it to PN) but I do not know how I return the data to the output window (or PN for that matter). Is this idea (or any other suggestion) doable? If yes, how do I do it?
Sorry if this question is too dumb, but from what I could find, I didn't see anything usefull.
Thank you already for reading this far.