Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BlockInput2 - disable keyboard and/or mouse
#1
Temporarily blocks keyboard and/or mouse input. More features than BlockInput.

Allows input in windows created by macros, such as message boxes, input boxes, custom dialogs.

July 12 2007
Added flags: 1 allow mouse move, 2 block in windows of other macros too, 4 unblock on Ctrl+Alt+Delete, 8 end thread on Ctrl+Alt+Delete


Attached Files
.qml   block input.qml (Size: 5.34 KB / Downloads: 1,166)
#2
I used BlockInput2 to make my Lock macro. When ran it freezes the computer and asks the password. If it's right the computer will be unlocked. If not it waits few secs and asks again.

You need to download the latest BlockInput2.

[29. 1. 2007]*Version 1.0.1 Released*
Release notes:
- Can't be passed with macro end key
- Encryption method is now md5(hex)
- Little fixes


Attached Files
.qml   lock.qml (Size: 1.52 KB / Downloads: 937)
#3
Some tips:

With encrypt and decrypt, use 6 instead of 2. It converts MD5-encrypted data to hexadecimal digits.

Make sure you have the latest BlockInput2 version. You can download it from the forum. Older versions may block input in all windows, including the password dialog.
#4
Gintaras Wrote:With encrypt and decrypt, use 6 instead of 2. It converts MD5-encrypted data to hexadecimal digits.
Md5 hexadecimal isn't 6. It's 10..
#5
Yes, forgot it. Base64 also can be used for this purpose (binary -> text). It is slower but produces smaller string.
#6
Gintaras Wrote:Yes, forgot it. Base64 also can be used for this purpose (binary -> text). It is slower but produces smaller string.
Base64 can be decryped.. Md5 can't.. Or only with hard brute force.
#7
s.encrypt(2 ...) ;;MD5
s.encrypt(2|4 ...) ;;MD5, then Base64 (to make text from binary)

2|4 = 6
#8
The function name "lock" conflicts with already existing function (as of 2.2.0).
Just rename it to something else.

rgrds.


Forum Jump:


Users browsing this thread: 2 Guest(s)