hpw
Full Member
Posts: 30
|
Post by hpw on Oct 24, 2020 6:30:14 GMT
Hello Steve,
Can you consider that you add a reading of the Exitcode from within command "RUN PROGRAM" ? Together with the commandline parameter passing MMM could interact with the external programms. Standard Exitcode is an integer.
Does "RUN PROGRAM" wait for ending of the program? If not, can there be an option to do so?
Regards Hans-Peter
|
|
|
Post by Steve on Oct 24, 2020 6:50:15 GMT
Hi hpwI like the idea of reading the exitcode from the output of run program but I'm not sure if it is possible to catch. RUN PROGRAM can call any program, file, script, anything really How that program it calls handles it's exit is likely to be independent to Mini Mouse Macro. To answer your question, RUN PROGRAM ( www.turnssoft.com/conditions.html#runprogram) does not wait for the program to end before continuing. I can't remember how i coded that but I can have a look at adding a switch to the command to wait. Great suggestions. Thanks.
|
|
hpw
Full Member
Posts: 30
|
Post by hpw on Oct 25, 2020 8:25:12 GMT
Hello Steve,
You may also consider an alternativ command for console aps.
RUN CONSOLE
This would capture the STDOUT-Stream from the console-app.
Regards
Hans-Peter
|
|