VMware Communities
addohm1
Contributor
Contributor

Getting python mouse clicks from host to register in VM

Im working on some scripts that I need to run on top of a VM. I'm using VMWare Workstation 15 Pro. The test script I ran to see if this would work is:

def main():
    time.sleep(5)
    pydirectinput.click()

The clicks on the virtual machine don't register while the clicks on the host system do. Is there a way to get the clicks to register on the VM and how?

0 Kudos
0 Replies