May-18-2025, 06:28 PM
Hello,
I have a Windows 10 host machine running VMware Workstation with a virtual machine (VM) inside it. I run a game inside the VMware VM, and I want to perform simple visual recognition, mouse clicks, and keyboard actions inside the VM from my Windows 10 host using Python. However, I have tried popular Python libraries like pyautogui, pynput, keyboard, and mouse, but mouse movements and clicks do not get passed into the VMware VM.
Is there a reliable way to send mouse clicks and keyboard input into the VMware VM from a Python script running externally on the host machine?
Thanks in advance.
I have a Windows 10 host machine running VMware Workstation with a virtual machine (VM) inside it. I run a game inside the VMware VM, and I want to perform simple visual recognition, mouse clicks, and keyboard actions inside the VM from my Windows 10 host using Python. However, I have tried popular Python libraries like pyautogui, pynput, keyboard, and mouse, but mouse movements and clicks do not get passed into the VMware VM.
Is there a reliable way to send mouse clicks and keyboard input into the VMware VM from a Python script running externally on the host machine?
Thanks in advance.