Is it possible to close the Main Window ? (SOLVED)

Is there a function or possibility to close the main window from within the code , for ex. I’m using a php script to update the local files( external files from Data ) , after the update is finished I want it to close the main window or close/open like a restart.

Found this, and works perfectly.

exo_runhescriptcom ( "Macros.MacroExit" );  
1 Like