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

getActiveWindow() #20

Open
surugh opened this issue Dec 12, 2019 · 1 comment
Open

getActiveWindow() #20

surugh opened this issue Dec 12, 2019 · 1 comment

Comments

@surugh
Copy link

surugh commented Dec 12, 2019

File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pygetwindow\__init__.py", line 71, in __str__ r = self._getWindowRect(self._hWnd) TypeError: _getWindowRect() takes 1 positional argument but 2 were given

r = self._getWindowRect()
works

@MattFox1388
Copy link

I am getting this issue when I use getWindowsWithTitle('...'). I try to access the first element from the list returned but this error is shown. Any ideas as to why this happens?

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