apsync Posted June 10, 2005 Share Posted June 10, 2005 (edited) hello, i couldnt find a function in the manual to capture keypresses, lets say when I press F1 i want to do that... a function like (in C/C++) GetAsyncKeyState(). Are there any? thx EDIT:// ok I found HotKeySet how can I use HotKeySet with BlockInput, lets say I want to ignore ALL keys except F1.? Edited June 10, 2005 by apsync Link to comment Share on other sites More sharing options...
JSThePatriot Posted June 10, 2005 Share Posted June 10, 2005 It seems to me the answer is right in the helpfile with the block input. You have to decide which operating system it is using and then it will tell you if the blockinput is going to be good for you.Another thing you might want to look into is _IsPressed() function it is a UDF so you will need to search the Scripts and Scraps Forum for the code for it. But basically what you will be doing with that is capturing all key presses and not letting anything through except what you want to go through.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) 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