Sign in to follow this  
Followers 0
6evil9

Send function in C++ or C#

4 posts in this topic

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

Share this post


Link to post
Share on other sites



Use the "AutoItX3.dll" library's AU3_Send function, the dll is located in "..\AutoItInstallation\AutoItX\StandardDLL\VC6\Example"

Share this post


Link to post
Share on other sites

You could use SendInput (a native function) and send a key down, sleep, then key up.

Share this post


Link to post
Share on other sites

Hi tthere

yup, got it through dll

just thought there could be other way...

anyway this will do as well

thx

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