A
A
ansurodkin2020-10-25 12:37:20
Automation
ansurodkin, 2020-10-25 12:37:20

Is it possible to link the coordinates of the remote desktop on the VPS and the main desktop of the PC so that the clicker on the VPS can read the coordinates from the PC?

Given:
1) A virtual machine with Windows Server 2012
2) A clicker program that performs some kind of routine work
Problem: A clicker is installed on the VPS server, which, under certain circumstances, should click on the screen area that I previously set. And there was a problem in which it became necessary for this clicker to click on the screen area not inside the VPS itself, but on the screen area of ​​\u200b\u200bmy main PC from which the connection to the VPS is being made.
Question:
Is there a way to link the coordinates of the screen of the remote desktop and the screen of the main PC (from which the remote desktop connection is made) so that the clicker installed on the VPS server can read the coordinates from the screen of the main PC and click on it ? Or is it impossible?
Thanks in advance for your reply!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jek, 2020-10-25
@jotrib

if I understand correctly, this is possible, but the code will be large, and I'm too lazy, there is a book on Python automation that explains how to take mouse coordinates and how to click. It is done by one module per python, I remembered, it is called PyAutoGUI

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question