I tried How to simulate Mouse Click in C#?
public void DoMouseClick(uint X, uint Y)
{
//Call the imported function with the cursor's current position
mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, X, Y, 0, 0);
}
My problem is, that the click got executed on that point, my cursor is and not on that point, I set for x and y. My coordinates aren“t wrong. I tried it also with x=1 and y=1.