-
sendkeys
Hi everyone.
I have some questions for you.
I am working on my application which save work from another application using sendkeys:
SendKeys.Send("^(s)")
SendKeys.Send("file")
SendKeys.SendWait("{ENTER}")
And it works fine,but my problem is that I don't know why sometimes name of the saved file is "file" and sometimes "ile" and sometimes "e".
Why??
-
Re: sendkeys
Probably due to the speed at which the keys are sent.
-
Re: sendkeys
Is there a way to reduce that speed or not??
-
Re: sendkeys
You can use the thread sleep function..
Code:
System.Threading.Thread.Sleep(500)
Thread will hold for 500ms before continuing..
-
Re: sendkeys
I think there's an optional "wait" parameter you can try.