Re: [问题] 请问sendkeys在指定档案中使用

楼主: fo40225   2015-08-27 22:45:51
※ 引述《dedicationsh (ddd)》之铭言:
: 我开了一个记事本
: 我有办法设一个click botton然后我点一下
: 他就让个记事本多一个讯息吗
: 一直用不出来 附上程式码
: private void button1_Click_1(object sender, EventArgs e)
: {
: Process notePad = new Process();
: // FileName 是要执行的档案
: notePad.StartInfo.FileName = @"C:\Users\JA\Desktop\test.txt";
: notePad.Start();
: }
: private void button3_Click(object sender, EventArgs e)
: {
: SendKeys.Send("
作者: dedicationsh (ddd)   2015-08-28 14:38:00
感谢大大热心地指导^^

Links booklink

Contact Us: admin [ a t ] ucptt.com