Change the current window.

Appeal.

int ires = ac_request("automate","ChangeWindow", int iDatabaseDescr);


Here: iDatabaseDescr is the handle of the ac_database object

Returns 0 on successful switching