Sign in to follow this  
Followers 0
strikeout

blockinput()

5 posts in this topic

hi!

im using ControlSend() to send keystrokes to a *minimized* process without control_ID (no control_ID because its a d3d game) ---> ControlSend("windowname", "", 0, $msg)

the problem now is that i need to send ctrl-keys like select-all, ctrl+A ---> $msg = "^a"

what happens is that this keystroke gets sent globally and interfear with my other programs.

my question is how can i stop this from happening?

i tried blockinput() but this also disables mouse movents completly which is no option

thanks in advance,

strikeout

Share this post


Link to post
Share on other sites



nope, it seems at least the CTRL key is sent globally!

example:

im typing a text in eg. firefox and im about to press the letter P, CTRL comes by globally via the ControlSend() and ..whoops! im in firefox' print-screen menu.

as almost every key is somehow mapped to a ctrl+key function in most programs i try to manually stop typing right to prevent weird accidents, so thats how i came to blockinput()

Share this post


Link to post
Share on other sites

nope, it seems at least the CTRL key is sent globally!

example:

im typing a text in eg. firefox and im about to press the letter P, CTRL comes by globally via the ControlSend() and ..whoops! im in firefox' print-screen menu.

as almost every key is somehow mapped to a ctrl+key function in most programs i try to manually stop typing right to prevent weird accidents, so thats how i came to blockinput()

So it will work, block it for a millisecond you won't even notice or do you?

Share this post


Link to post
Share on other sites

*bump*

any ideas? problem still not solved =(

Share this post


Link to post
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
Sign in to follow this  
Followers 0