A
A
Adel Khalitov2019-07-16 13:54:23
Node.js
Adel Khalitov, 2019-07-16 13:54:23

How to choose libraries to simulate a click?

Good day.
I have a task to write an application in nodejs that will perform the following actions:
In a minimized state, preferably, approximate functionality ( https://habr.com/ru/post/346258/)
1) Take a screenshot of a specific window in Windows, Linux, etc. .
2) Make color filters on this image in order to understand the location of some element
3) Calculate the coordinate from this photo
4) Emulate a click on the given coordinates, but at the same time, so that the mouse is not involved (it is desirable that the click be possible when the window is minimized)
Perhaps someone faced such tasks, throw libraries. I will be grateful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfangur, 2019-07-17
@alfangur

I had a task:
- to receive screenshots of windows in windows
- to transmit mouse and keyboard events to windows
- to receive information about windows the
main development was on nodages, the bridge to winepi was made on a separate application written in Delphi, the bridge works on standard input / output in the format Json
for Windows can be expanded functionality, for other OSes there is a stub because I didn’t understand the rest of the device, and few people have a need for other OSes,
if interested, I can share

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question