Jump to content

UDF : BlockInput without UAC


Nine
 Share

Recommended Posts

This function can be use to block all inputs coming from mouse and keyboard, without having an UAC warning displayed.

Version 2024-04-17

* Added new parameter to allow injection or not 

* Allow Send and Mouse* functions (injection) to work when inputs are blocked

Version 2021-02-06

* Allows blocking either Mouse or Keyboard independently

* Removed @error if already disable / enable

* Checks for rightful parameters

Example 1 : basic usage of blocking inputs

Example 2 : usage of Control* while inputs are blocked

Example 3 : injection of both mouse and keyboard

BlockInputUDF.zip

Edited by Nine
Link to comment
Share on other sites

Posted (edited)

First, I must sincerely apologize to @paw for being so stubborn in refusing to incorporate the notion of injection into my UDF.

After careful consideration, I must admit my mistake. It was a very good idea, and I should have agreed to it.  But to keep the UDF completely safe, it will be possible to authorize injection or refuse it.

When the injection is authorized, the Send and Mouse* functions will operate normally even if manual inputs are rejected.

New version available :)

Edited by Nine
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...