I have a question with findwindow: I said findwindow a find VALORANT window, but even anywhere it triggers events under findwindow, I want it to run only in VALORANT window
code this :
int hwnd = FindWindow(null, "VALORANT");
SetForegroundWindow(hwnd);
SendKeys.SendWait("+{ENTER}iyi oyunlar...{ENTER}");