R
R
Rick Stead @Rick2021-09-07 11:02:15
Python
Rick Stead @Rick, 2021-09-07 11:02:15

How to bypass window protection with name change?

I'm trying to capture the "RAGE Multiplayer" window with the method win32gui.FindWindow(None, window_name), but the window keeps changing its name by replacing letters with similar ones. I find the name with

match = re.search(r'[R]\w{3}\s\w{11}', win32gui.GetWindowText(hwnd))
, it is detected correctly, but still not captured. How can I bypass the name change?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2021-09-07
@Vindicar

By window class doesn't work?
Then look for a way to call the GetWindowThreadProcessId() WinAPI function to weed out windows from other processes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question