How to block the keyboard Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
A random guy
Posts: 31
Joined: 10 Feb 2017, 19:55

How to block the keyboard

10 Feb 2017, 20:01

I'm wondering how i can block the keyboard wait like 10 second then enable it back. I can only know how to do this on a mouse.
FanaticGuru
Posts: 1397
Joined: 30 Sep 2013, 22:25

Re: How to block the keyboard  Topic is solved

11 Feb 2017, 02:16

A random guy wrote:I'm wondering how i can block the keyboard wait like 10 second then enable it back. I can only know how to do this on a mouse.

Code: Select all

BlockInput, On
Sleep 10000
BlockInput, Off
You may have to run as administrator or more exotic means to get around UAC. Basically this is a command that Windows is afraid to let just any program do.

FG
Hotkey Help - Help Dialog for Currently Running AHK Scripts

AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon

[Function] Timer - Create and Manage Timers
A random guy
Posts: 31
Joined: 10 Feb 2017, 19:55

Re: How to block the keyboard

11 Feb 2017, 18:40

Thanks I didn't run it as administrator. I wonder why windows lets me block the mouse though without running it as administrator
A random guy
Posts: 31
Joined: 10 Feb 2017, 19:55

Re: How to block the keyboard

11 Mar 2017, 19:54

Thanks I didn't run it as administrator. I wonder why windows lets me block the mouse though without running it as administrator


Last bumped by A random guy on 11 Mar 2017, 19:54.

Return to “Ask For Help”

Who is online

Users browsing this forum: Albireo, Bad husband, Bing [Bot], Gandharv, Google [Bot], MSN [Bot], Odlanir, Rohwedder and 277 guests