Hi Chris
I am using python to automate HEC-RAS in real-time. I need to run it every 6 hours. I made it to run after every 6 hours interval. But the problem is that HEC-RAS shows a dialogue box after every run asking “Do you want to save the project”. I need to manually click on the “Yes / No” button to save the project and begin the next one with new dataset. What can I do so that it just finishes one run, saves it and goes to the next run?
In the meanwhile, you can use a simple hack like automating the mouse. You can use the code below to click on the window that pops up every-time. Because it comes up in the same location.