BlockInput is not working.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
oldbrother
Posts: 273
Joined: 23 Oct 2013, 05:08

BlockInput is not working.

07 Sep 2019, 15:05

How come BlockInput doesn't work in my script? See the code below. I want to stop the mouse and keyboard for 10 seconds, but the code doesn't work. Did I do something wrong, or it's a bug?

Windows 10 Professional 64Bit, AHK 1.1.30.03

Code: Select all

BlockInput, on
Sleep 10000
BlockInput, Off
Thanks!
GEV
Posts: 1002
Joined: 25 Feb 2014, 00:50

Re: BlockInput is not working.

07 Sep 2019, 16:11

Note: The OnOff and SendMouse modes might have no effect if UAC is enabled or the script has not been run as administrator. For more information, refer to the FAQ.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada and 222 guests