Python Forum

Full Version: pyautogui with a display emulator?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Everyone,

I have used the pyautogui module to automatically take photos for my Sony RX0M2. However, I would like for my code to run headlessly(without a display). My research indicates pyautogui cannot by itself work headlessly. I've researched various options like Xvfb, but I need to use the Windows operating system for the camera desktop application(Imaging Edge).

Note: I've resorted to GUI automation because my camera lacks Software development kit/application programmable interface support.

This brings me to my question. Do you see any reason why pyautogui could not be used in conjunction with a display emulator? Just in case you're unfamiliar, a display emulator is a device that plugs into your laptops HDMI port and tricks the computer into thinking it has a monitor plugged in.