Krombik / keysender

Node.js Desktop Automation for Windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Virtual.mouse.move` sends "LMB pressed" [fix available] [Windows]

Mr-VIT opened this issue · comments

commented

PostMessageA(hWnd, WM_MOUSEMOVE, 1, isAbsolute ? MAKELPARAM(coords.x, coords.y) : MAKELPARAM(lastCoords.x + coords.x, lastCoords.y + coords.y));

3th param should be 0 or 'pressed' mouse buttons by Virtual.mouse.toggle, not just 1 (LMB)