代码
IWshRuntimeLibrary.WshShellClass shell = new IWshRuntimeLibrary.WshShellClass();
object a = 1, b = 0;
shell.Run(
"notepad.exe"ref a, ref b);
System.Threading.Thread.Sleep(
100);
shell.SendKeys(
"%f"ref b);
System.Threading.Thread.Sleep(
100);
shell.SendKeys(
"^x"ref b); 

 

 

posted on 2010-07-26 14:20  arbin98  阅读(382)  评论(0编辑  收藏  举报