AutoIT UI针对C#的Automation扩展 [英] AutoIT UIAutomation extension for C#

查看:53
本文介绍了AutoIT UI针对C#的Automation扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

开始使用带有AutoIT的Visual Studio自动化Windows应用程序.但是由于某些控件出现问题,我开始了解AutoIt UIAutomation.在AutoIt Scite编辑器中这可以正常工作,但是我们如何在Visual Studio 2015中使用它呢?谢谢!

Started automating a windows application using Visual Studio with AutoIT.But facing problems with some controls and I came to know about the AutoIt UIAutomation. This is working fine in AutoIt Scite editor but how can we use this in Visual Studio 2015?Thanks in advance.

推荐答案

根据

Per the comments of this thread, there is not a way to include other '.au3' files in C#. They'll need to be translated to C# :(

我误解了这个问题...这回答了如何在C#中引用AutoItX

I misunderstood the question... this answers how to reference AutoItX in C#

每个本主题 AutoIt论坛 ...

  • 在项目中添加对AutoItX3.Assembly.dll的引用
  • 在要使用AutoIt功能的文件中添加 using AutoIt; 语句

在正常"安装中,AutoItX3.Assembly.dll位于C:\ Program Files(x86)\ AutoIt3 \ AutoItX中.

The AutoItX3.Assembly.dll is located in C:\Program Files (x86)\AutoIt3\AutoItX in a 'normal' installation

这篇关于AutoIT UI针对C#的Automation扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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