AutoIt 窗口信息工具

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”.

© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容