I've read dozens of threads looking for a way to block keyboard input without an administrator account with no luck. What I have is a script that bounces between 3 difference windows, sending keystrokes to the windows like ^c, ^v, c, {tab}, and a couple others. I tried the below but unfortunately it seems to block the script from using those keys also. I just want to stop the user from sending any keystrokes that would throw off the script from where it is (one of the files is an Excel file).
What I've tried:
Code: Select all
Input, Keys, T1, {Esc}
If (ErrorLevel = "Match")
Send {%Keys% Down}
Return
Thanks in advance! Appreciate any ideas.