<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">James Richters <<a href="mailto:james@productionautomation.net">james@productionautomation.net</a>> schrieb am So., 19. Mai 2019, 19:10:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks! That was quite helpful! I have a test program kind of working. <br>
<br>
I notice I only get 5 seconds to do what I am going to before it closes, and I also notice that my program can no longer respond to keystrokes after I hit the red X. How do other programs get around this? For example if I open word for windows and type something and hit the X it asks if I want to save it and will wait indefinitely for a response. Is this a limitation because I am running console application, Is there a way I can do this with my console application as well<br></blockquote></div><div dir="auto"><br></div><div dir="auto">Correct, that is a limitation of the console no matter the operating system. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>