command-line tool to emulate a mouse click on windows
- run
sendmouse
with/without arguments and get current mouse position in console. - run
sendmouse x y
(x y should be integer) to move mouse cursor to point (x,y) and emulate a left click.
Releases are built with tcc using command tcc sendmouse.c -luser32
,
it can also be built with other compliers such as gcc.