strikeout Posted August 27, 2009 Share Posted August 27, 2009 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 Link to comment Share on other sites More sharing options...
WolfWorld Posted August 27, 2009 Share Posted August 27, 2009 ControlSend Will send the KEY to that application directly. I don't know the code that they use but normally this is the case. Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
strikeout Posted August 27, 2009 Author Share Posted August 27, 2009 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() Link to comment Share on other sites More sharing options...
WolfWorld Posted August 27, 2009 Share Posted August 27, 2009 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? Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
strikeout Posted September 11, 2009 Author Share Posted September 11, 2009 *bump* any ideas? problem still not solved =( Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now