Jump to content

Recommended Posts

Posted

Hi!

I need something for my script. I used the blockinput udf for blocking the keyboard.

The problem is that my script should recieve input from the keyboard, but if i press

"a" there shouldnt appear an "a" on the screen.

Posted

Yashied's excellent UDF allows you to block input to all but your own program. Unfortunately once Ctrl-Alt-Del is pressed, game is over on Win 7 - the hook is lost completely.

Posted

You could always use a "IF" statement, and do something like:

If WinActive("title of your program window here") Then
   ;turn off block key input...
Else
   ;block key input...
EndIf

Thanks,

Ilmaestro.

Hello, World!... LAME lol

Posted

Ok, i tryed the blockinput, but it blocks all the input.

as i said, i want only my script to recieve input from the keyboard.

the hotkeys could be possible, but i dont want to assign every single letter

on its own.

@ maestro: i meant the scripts "interior". like if my active window is notepad,

and if you type something, my programm should block it, but also recieve the pressed

keys.

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
  • Recently Browsing   0 members

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