Issue with clicking anything inside a VMware Workstation 14 VM.

Asked by Ryan on 2018-09-24

I'm running(Windows 10, Java8(64) 1.8.0_181) and SikuliIDE 1.1.3 as admin.

I have built a Centos 7 VM using VMware Workstaion 14. Any click cmd I use in sikuli seems to not work. The mouse will move to that location and Sikuli logs a CLICK but nothing happens in the VM. I've tried multiple clicks in that same area and again Sikuli logs them as successful clicks but nothing takes place in the VM. I've even giving the script a sleep time so I can manual click into the VM to provide focus and Sikuli will them move to the desired location and issues a click but it does nothing. Once again I can click the desired location and it functions as expected. Any help would be greatly appreciated.


Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

I am sorry, but with such kind of problems I cannot help you (too specific).

As a hint:
To issue mouse actions, SikuliX internally uses the Java AWT Robot class. Especially with Windows there are some situations, where the mouse actions originated by SikuliX are not really done. With the current solution SikuliX does not have a feedback about the real click (hence the log messages only tell you: well I did something, but I cannot say, wether it really happened).

RaiMan (raimund-hocke) said : #2

... so search in the net with "Java Robot" and your VM setup.

Ryan (1lostsoldier) said : #3

Thanks for you prompt response and suggestions. I will check down that path.

Can you help with this problem?

Provide an answer of your own, or ask Ryan for more information if necessary.

To post a message you must log in.