Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have launched a external exe file which is running successfully, but the problem is I need to save the file automatically.
Following source code I have added, but it is not working:

"SendKeys.SendWait("%P");
SendKeys.SendWait("{Enter}");

SendKeys.SendWait("^%s?");
Thread.Sleep(5000);
SetForegroundWindow(FindWindow(null, "Save As"));
Thread.Sleep(5000);
SendKeys.SendWait("abc");"

Here Save As dialog box will appear but the message will not appear.
Kindly help me on this to resolve.

Thanks
Posted
Updated 21-Jun-15 21:24pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900