代码正确,你先表达什么?但是不见得最后一句代码生效
Proc.WaitForInputIdle() '等程序自动结束并进入空闲状态Sendkeys.Send("I Like Foxtable") '发送按键信息