Python Forum
pyautogui with a display emulator? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: pyautogui with a display emulator? (/thread-28695.html)



pyautogui with a display emulator? - gumby4231 - Jul-30-2020

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.