asweigart / asweigart/PyGetWindow

window.close() does not work

Open
#48 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
422
Forks
73
PR merge metrics
No merged PRs in 30d

Description

Hello, once I was able to close the choosen windows. I have changed the platforms, now I am not able to do that.

`import pygetwindow as gw`
`window = gw.getWindowsWithTitle(title)[0]`
`print(window)`
`window.close()`

the result of `print(window)` is below. Therefore, I understand that this is the right object to close.

``

but `window.close()` does not work. Nothing happens.

Is there any way to test it for further details?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.