Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pywintypes.error: (1400, 'GetWindowRect', 'Invalid window handle.') #10

Open
HoHoHoCCH opened this issue Apr 4, 2022 · 1 comment
Open

Comments

@HoHoHoCCH
Copy link

For some reason when I run the code this error comes up

@Bananoob
Copy link

Run CS:GO and go to your code editor and look at line 15, you will see a string 'Counter-Strike: Global Offensive'
Look at the name of the csgo window and copy the name.
Personally I just had to add ' - Direct3D 9' at the end of the string
You can also see the window name with the taskmanager as well
image
Hope this was helpful for u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants