Is there a way to read the clipboard with ctypes?
I'm trying to make a program which virtually presses printscreen, grabs the image from the clipboard, and saves it as a variable. I can't use any libraries other than ctypes, pygame, time, random, sys, and os (basically just the libraries included with python).
Can anyone help?
I’m using Windows 10 and Python 3.7 (32 bit).
Edit: The only answer to the question Read text from clipboard in Windows using ctypes doesn't work with pictures.
Is there a way to capture an image of the screen in python with ctypes? is a related question I asked.
