6evil9 Posted March 1, 2009 Posted March 1, 2009 hi everyone i am trying to replicate Autoit function send("{UP down}") and send("{UP up}") in C# Can someone tell me how can this be done? (C++ is good as well) i am using SendKeys.Send function but can't find the way to send hold down a key. Cheers
Authenticity Posted March 1, 2009 Posted March 1, 2009 Use the "AutoItX3.dll" library's AU3_Send function, the dll is located in "..\AutoItInstallation\AutoItX\StandardDLL\VC6\Example"
Richard Robertson Posted March 1, 2009 Posted March 1, 2009 You could use SendInput (a native function) and send a key down, sleep, then key up.
6evil9 Posted March 1, 2009 Author Posted March 1, 2009 Hi tthere yup, got it through dll just thought there could be other way... anyway this will do as well thx
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