Hello,
i do have a web application that generates every second a child window named es. "Pippo".
I wish, after i have read the child window content, close this/these windows.
I, to close a single window do use the command:
int WM_SYSCOMMAND = 0x0112;
int SC_CLOSE = 0xF060;
Wnd wnd = Wnd.findWindowByName("Pippo");
wnd.show(Wnd.ShowWindowCommand.SHOWMAXIMIZED);
try {
Thread.sleep(500);
} catch (InterruptedException ex) {
System.out.println("error");
}
wnd.sendMessageEx(WM_SYSCOMMAND, SC_CLOSE, 0);
To close, at determinate interval, n windows named "Pippo" how I do?
Thanks for reply.
SaSa