EDN Admin
Well-known member
I need to save a file which is in an External Window using SendKeys.Send or SendKeys.SendWait() method. The keys needed to be sent are Ctrl+Alt+S and I wrote the below code : <br/><br/>SendKeys.SendWait("^%(S)"); // to get the Save As window...<br/>Thread.Sleep(5000);<br/>SetForegroundWindow(FindWindow(null, "Save As"));<br/>Thread.Sleep(5000);<br/>SendKeys.SendWait("abc"); //giving the file name in the save as file dialogue <br/><br/>But it is not working... <br/>Can anybody of help me in this...<br/><br/>Ramesh.
View the full article
View the full article