AutoIt Window Info Tool

AutoIt X

AutoIt Window Information Tool

AutoIt v3 comes with a standalone tool called the AutoIt Window Info Tool (Program Files\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:

  • Window titles
  • Text on the window (visible and hidden)
  • Window size and position
  • Contents of the status bar
  • Position of the mouse pointer
  • Color of the pixels underneath the mouse pointer
  • Details of the Control underneath the mouse pointer

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

 

Here is an example of Au3Info in use with the Windows "WordPad" editor: