How to close the browser window from a blank application

I used a SC Blank Application to create my phpexcel report that is downloaded when executed. After the execution, a blank window tab is left behind. How can i made the blank window to close? The

Javascript command “window.close()” does not seem to work in the Blank application?

Hello,
I always use sc_redir at the end of the function. Then the window is closed and SC turns to the given window…

Best regards
Uwe Pfeiffer

i am agree with Pfeiffer, you could try with : sc_redir(‘the_aplication’, “”, “_parent”);

I used a SC Blank Application to create my phpexcel report that is downloaded when executed. After the execution, a blank window tab is left behind. How can i made the blank window to close?

Hi marie, try with sc_exit();