Currently I want to click to close a tab with this command, but they tell me that I should find in the window handle, how can I do it, a suggestion was with "FindWindow" but I do not know how to use it ...
the code is the following ...
SetCursorPos(coordX[2],coordY[2]);
if (SetCursorPos ((int)Coord [x], (int)Coord [y]))
{
SendMessage (NULL, WM_LBUTTONDOWN, 0, 0);
}
}
They say that null is only for desktop, and I want to do it in google chrome
in advance thanks