Skip to content

Conversation

@p3rd1x
Copy link

@p3rd1x p3rd1x commented Nov 8, 2020

Added the function getWindowAsImage() to screenshot a specific window. Takes the current window if hwnd == None or any other window specified by the window handle hwnd. With win32gui.EnumWindows one can obtain the window handles of all top-level windows.

@ivan
Copy link
Member

ivan commented Nov 8, 2020

Thanks, that does seem like something reasonable to include here, though you could also do it by having that helper function in your own program.

I won't have time to do another release of Desktopmagic any time soon, so if you need this functionality, I recommend either that or maintaining a fork.

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

Successfully merging this pull request may close these issues.

3 participants