The AHK help seems wrong, when it says "Speed is ignored for SendInput/Play modes". SendInput mode seems to consider the speed option.
At least, this code moves the mouse smoothly:
Code: Select all
sendmode, input
mousemove, 100, 100, 40
Code: Select all
sendmode, input
mousemove, 100, 100, 40
https://www.autohotkey.com/docs/commands/Send.htm#SendInputDetail wrote:If a script other than the one executing SendInput has a low-level keyboard hook installed, SendInput automatically reverts to SendEvent (or SendPlay if SendMode InputThenPlay is in effect). This is done because the presence of an external hook disables all of SendInput's advantages, making it inferior to both SendPlay and SendEvent. However, since SendInput is unable to detect a low-level hook in programs other than [AutoHotkey v1.0.43+], it will not revert in these cases, making it less reliable than SendPlay/Event.
Users browsing this forum: moltenchees and 271 guests