如何使用c#从批处理文件中与其他应用程序进行交互。并使用鼠标和键盘与该应用程序的菜单项进行交互 [英] How to interact with other application from batch file using c#. and interact with the menu item of that application with out using mouse and keyboad

查看:238
本文介绍了如何使用c#从批处理文件中与其他应用程序进行交互。并使用鼠标和键盘与该应用程序的菜单项进行交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究项目的自动化部分。我要从.net打开一个应用程序,即通过批处理文件,我们将打开.exe文件。现在我们需要用鼠标和键盘与应用程序进行交互。所以我们将去发送密钥方法...

解决方案

我不清楚你在使用什么。首先,请参阅: http://msdn.microsoft .com / zh-CN / library / ms747327%28v = vs.110%29.aspx [ ^ ]。



-SA

I am working on Automation part of my project. I've to open an application from .net i.e through batch file we will open the .exe file. and now we need to interact with the application with out mouse and keyboard. so we will go for send key methodolgy ...

解决方案

It's not clear to me what you are using. So, to start with, please see: http://msdn.microsoft.com/en-us/library/ms747327%28v=vs.110%29.aspx[^].

—SA


这篇关于如何使用c#从批处理文件中与其他应用程序进行交互。并使用鼠标和键盘与该应用程序的菜单项进行交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆