What is AU3_Spy.exe? Where can I find it?

我只是一个虾纸丫 提交于 2019-12-23 13:14:15

问题


Whenever I try to launch the Windows Spy utility in AutoHotkey, it fails with an error "Could not launch file: U:\Software\AutoHotkey_1.1.26.00\AU3_Spy.exe"

Initially I thought that I may have had a corrupted download. However, after redownloading AHK from the official website, I could not find any file named AU3_Spy.exe in ahk.zip.

After some research, I've discovered that the portable version of AHK is missing AU3_Spy.exe, which seems to be required for Window Spy to run.

  • What is AU3_Spy.exe?
  • Why wasn't it included with AutoHotkey?
  • Where can I find the missing file?

回答1:


Window Spy or AU3_Spy.exe is a program which can be used to retrieve information about a window for scripting.

While it isn't included with the portable version of AHK ahk.zip, you can use 7-Zip to extract AU3_Spy.exe from the AutoHotkey installer.


  1. Download the AutoHotkey installer (https://www.autohotkey.com/download/)

  2. Open installer file using 7-Zip and extract AU3_Spy.exe.

  3. Place AU3_Spy.exe in your AutoHotkey folder.

  4. While running AHK, right-click the AHK icon in the notification area and select Window Spy.

  5. Done! You can now click any window to retrieve useful information such as window title, mouse position, and controls.




回答2:


In latest AutoHotkey installer (v1.1, v2.0...), only Full-installer includes that, and after installation you can find it:

C:\Program Files\AutoHotkey\WindowSpy.exe




回答3:


Try running the standalone installer:

https://autohotkey.com/download/ahk-install.exe

Then look for your file here:

\Program Files (x86)\AutoHotkey\AU3_Spy.exe


来源:https://stackoverflow.com/questions/45552452/what-is-au3-spy-exe-where-can-i-find-it

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!