O
O
Oleg2015-06-10 13:24:03
VNC
Oleg, 2015-06-10 13:24:03

How to make mouse emulation with vnc connection by multiple users in Mac 10.10?

There is a server on which Mac 10.10 is installed and the task was given to develop a bot that would need to be run under several users on Mac, i.e. there is a vnc connection to the server, log in under the required user and run the script; We go under as many users as we need.
I developed the bot and everything worked well during the development phase until it came to testing the script with multiple users. The problem arose with emulation of pressing the left mouse button - all mouse clicks occurred for the first user, and not for the current one. This is most likely due to the fact that the vnc connection uses a shared screen with the first user.
I tried various mouse emulators - the result is the same.
The question is - how to correctly emulate the left mouse button, so that it occurs in the current vnc client for the current user, and not for the first one.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question