CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [GAMBIT] auto close Gambit window (https://www.cfd-online.com/Forums/ansys-meshing/79495-auto-close-gambit-window.html)

MEDI August 25, 2010 11:31

auto close Gambit window
 
Hello, everyone.
I want to use the gambit as a batch process (using the journal file), and after the gambit run, the control does not come back to command prompt due to this Gambit startup window (small window which you get when you first launches the gambit by GUI). As a result, I cannot process the next batch job automatically. (I always need to click the "close" button manually on this window) Does anyone know how to setup the gambit so that this startup window does not appear?

Jenik September 3, 2010 06:18

HI

I have similar problem. I was creating optimization loop in VBA (visual Basic for application). The only way I discovered is to send keys alt+f4 that closes this window. The problem is that you have do it in right time. Usualy I exported mesh and after picture. The picture was sign that the mesh was succesfully exported.
Problem is that sendkeys method works in winXP, but in win7 or Vista it might not work.


All times are GMT -4. The time now is 21:22.