How to send mouse clicks and keyboard input to a VMware VM from external Python script? #159626
Unanswered
olips59
asked this question in
New to GitHub
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions