If am however not seeing through something that you might know, like for example that there was a specific reason to do something specific in the new version wrt the keyboard and mouse input, i would like you to please share this knowledge. It is exactly the same risk as just staying there infront of the vm and clicking with the mouse on your own. I have the feeling that you didnt really read, what i was trying to explain, because there is simply no way that you could consider this a security risk. I would appreciate it very much, if you could help me figure this out!
Could you make look into that? There has apparently been a change to how VMware Workstation 14 Pro works with input with regards to workstation 12. Among them were trying all kinds of options for configuring grabing the focus, transferring the clipboard, etc also not using the enhanced keyboard driver, but only downgrading to workstation 12 made it work. AutoIt uses the WInAPI to send mouse click and keystroke events.I guess so does every other automation solution, which i tried. Afterwards however i cant do anything more. I can only grab the focus if i send hotkey to navigate through the menu and select the option from there. Same goes for the keyboard i am not even able to send Ctrl+g to grab the focus. If i focus my VM first and then send the mouse click, the mouse wont even move towards the coordinates. If i do not focus the VMware window and just tell my script to make a mouse click at given coordinates(absolute to the host), which then will match a point inside the VM, the mouse pointer will move towards the coordinates and the click will be sent, but there will be no reaction from the vm - the focus will not be grabbed. For some reason, the automation is executed, but there is no effect on the VM. I tried using many different ways and frameworks - not only AutoIt - to send a mouse click or a hotkey to the VM, however i am never able to do it. I need this because the software which i am testing does not entirely operate in a system, where i can rely on an automation solution inside the VM. This is usually a mouse click sent in the VM, or a key combination, to grab the input and then send something.
On a Windows 10 machine i am trying send automated mouse clicks and key strokes to a vm in VMware Workstation 14 Pro(14.1.1-7528167).