Programmatically taking screenshots in windows wit

2019-04-17 15:27发布

This question already has an answer here:

There are various ways to take screenshots of a running application in Windows. However, I hear that an application can be tailored such that it can notice when a screenshot is being taken of it, through some windows event handlers perhaps? Is there any way of taking a screenshot such that it is impossible for the application to notice? (Maybe even running the application inside a VM, and taking a screenshot from the host?) I'd prefer solutions in Python, but anything will do.

4条回答
Fickle 薄情
2楼-- · 2019-04-17 16:06

There will certainly be no protection against a screenshot taken with a digital camera.

查看更多
Evening l夕情丶
3楼-- · 2019-04-17 16:11

One could use Remote Desktop or the (low-level) VNC Mirror Driver and take the screenshot on an another computer.

查看更多
Deceive 欺骗
4楼-- · 2019-04-17 16:22

> I hear that an application can be tailored such that it can notice when a screenshot is being taken of it

Complete nonsense. Don't repeat what kids say... Read MSDN about screenshots.

查看更多
Juvenile、少年°
5楼-- · 2019-04-17 16:29

Do you have a particular anti-screenshot program in mind? Ultimately, you're right, running the app in a VM will trump any 'protection' it has, but the method depends on which OS/VM you're using, and it's not worth the overhead until it's needed.

I'd just use this: Take a screenshot via a python script. [Linux] (Windows only)

查看更多
登录 后发表回答