Im trying to manipulate a program to think it has a button held down but am having some problems.
when using this code it does send the button.
Code:
SendKeys.Send("{mybutton}");
But I have been trying to make the program think it was held down.
When adding more to it, it just acts like the button was pressed over and over.
Code:
SendKeys.Send("{mybutton}+{mybutton}+{mybutton}+");
Also, having it like this does nothing.
Code:
SendKeys.Send("{mybutton}{mybutton}{mybutton}");
Is there some code I'm missing that does this?
Any help would be appreciated.