Close the current window.

Appeal.

int iret = ac_request("Automate",CloseCurWindow");


Returns 0 if the window is successfully closed.