最新消息:

AutoIt 窗口信息工具

autoit 永恒心锁 1253浏览 0评论

AutoIt v3 包含了一个独立的工具叫做 AutoIt 窗口信息工具(AutoIt Window Info Tool) (D:\AutoIt3\AU3Info.exe). AU3Info allows you to get information from a specified window that can be used to effectively automate it. Information that can be obtained includes:

  • 窗口标题
  • 窗口中的文本(可见的和隐藏的)
  • 窗口大小和坐标
  • 状态栏的内容
  • 鼠标的坐标
  • 鼠标下面像素的颜色
  • 控件上面的鼠标坐标

To use AU3Info just run it (from the command line or Start menu). AU3Info will remain the top most window at all times so that you can read it. Once active move to the window you are interested in and activate it – the contents of AU3Info will change to show the information that is available. With the help of AU3Info you should be automating in no time!

When AU3Info is running you may want to copy text directly from it using CTRL-C and then paste it into your script to avoid spelling/case errors. For the tabs that have information in a list view (like the control information shown below) just double-click on an entry to copy it to the clipboard. This can be difficult when you want to capture pixel/mouse information as it keeps changing! To help with this you can “freeze” the output of AU3Info by pressing CTRL-ALT-F. Press the keys again to “unfreeze”.

永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » AutoIt 窗口信息工具

您必须 登录 才能发表评论!