Krombik / keysender

Node.js Desktop Automation for Windows.
MIT License
75 stars 6 forks source link

do you have an plan to refact without node-gyp #33

Closed YMC-GitHub closed 2 weeks ago

YMC-GitHub commented 2 weeks ago

thank you for your sharing. this repo help me a lot.

without node-gyp , like LaunchMenu/node-global-key-listener

or refactor with rust.

it may be good to refactor this. but i am newer on cpp.

Krombik commented 2 weeks ago

Currently i have no windows machine, so i can't do anything with this repo

YMC-GitHub commented 2 weeks ago

i get some code about workwindowin fileworkwindow.cpp. but i am newer on cpp. could you give me some help about capturing active window(not screen) or workwindow in cpp or rust?

Krombik commented 2 weeks ago

It is use some 1000 year old windows api, so it really hard to understand what happens there, capturing happens in this part of code, the code before is for getting sizes of image, the code after is for converting to different color schemas

Krombik commented 2 weeks ago

and this line is also very important

YMC-GitHub commented 2 weeks ago

hey,i get a answer here, deeean/sophia in rust & napi for nodejs. i am go to fork it and add feature take_windowshot.

YMC-GitHub commented 2 weeks ago

thanks for your reply.