113 reputation
5
bio website
location New York, United States
age 26
visits member for 2 years, 2 months
seen Sep 14 at 19:43

I'm an electrical engineering student with a computer science minor at the City College of New York. I do programming work for the Metropolitan Transit Authority, and do a fair amount of hobby-coding for web sites and computer game modifications.


Jun
16
comment Start program, wait until it outputs certain string, then continue
Thank you, it works perfectly. Took me a it to figure out what you meant put where, but it works.
Jun
13
comment Start program, wait until it outputs certain string, then continue
Ah, I think I see. I cannot test it right at this moment, but I believe this will work. I'll accept once I have confirmed that.
Jun
13
comment Start program, wait until it outputs certain string, then continue
I didn't say what exactly I'm waiting for precisely because I am not interested in answers that try to explore those alternatives. At any rate, thank you for confirming my fears re: FOR /f; I was hoping someone would know of a workaround for that. Anyway, this answer does not help me because I cannot modify the script I'm running (such edits would just get wiped out when the script is updated, and I'm not authorized to push such a change), but I appreciate the information, so +1.
Jun
13
comment Start program, wait until it outputs certain string, then continue
I'm not familiar enough with Windows scripting, but how well is that going to work when the first script is outputing multiple lines at separate instances. If the piped script runs as soon as it gets any input, it won't get the string. If it waits for the first script to terminate, that's just not going to happen because it doesn't (and shouldn't) terminate.
Jun
13
comment Start program, wait until it outputs certain string, then continue
@CharlieRB Sorry about that, fixed.
Jun
13
comment Start program, wait until it outputs certain string, then continue
@IvanViktorovic Feel free to give an answer using that, but I would much prefer this just be a quick, simple piece of code I need, not extra dependencies I need to introduce to this. But if it's the best way, it's the best way.
Jun
13
comment Start program, wait until it outputs certain string, then continue
No, this isn't even remotely what I need. The commands that I issue aren't commands in the first program, but rather separate batch scripts. They just use the connection established by the first program.
Aug
23
comment Disable Autocorrect for a certain style sheet
That’s explicitly not what @peterchen asked for. He wants to turn it off only for a particular style, not for everything in the program.