Page 1 of 1

ahk_u32 zip - Could not launch file: AU3_Spy.exe

Posted: 22 Aug 2017, 13:18
by joedf
When launching "Window Spy" in the tray menu. It complains:
Could not launch file:
"E:\Files\sub\portableapps\AutoHotkey\AU3_Spy.exe"
Shouldn't it being using the present file "ActiveWindowInfo.ahk" instead?

Tested with v1.1.26.01 and v1.1.26.00 zip u32 versions.

Re: ahk_u32 zip - Could not launch file: AU3_Spy.exe

Posted: 28 Sep 2017, 14:24
by Stevoisiak
Window Spy's executable is only included in the installer version of AutoHotkey.
You can resolve this issue by extracting AU3_Spy.exe from AHK's installer and putting it in your root directory.

(See What is AU3_Spy.exe? Where can I find it?)

Re: ahk_u32 zip - Could not launch file: AU3_Spy.exe

Posted: 28 Sep 2017, 20:16
by joedf
I know the installer contains the AU3_Spy.exe... It's ActiveWindowInfo.ahk compiled and renamed as AU3_Spy.exe.
The source is available here: https://github.com/Lexikos/AutoHotkey-R ... owInfo.ahk

However, the zip release version only has ActiveWindowInfo.ahk, while the installer version only has AU3_Spy.exe
This is inconsistent.

Re: ahk_u32 zip - Could not launch file: AU3_Spy.exe

Posted: 29 Sep 2017, 11:27
by Stevoisiak
joedf wrote: However, the zip release version only has ActiveWindowInfo.ahk, while the installer version only has AU3_Spy.exe
This is inconsistent.
Do you mean that Window Spy, AU3_Spy.exe, and ActiveWindowInfo.ahk are all the same program?

...that explains so much.

Re: ahk_u32 zip - Could not launch file: AU3_Spy.exe

Posted: 29 Sep 2017, 22:00
by joedf
Yes haha ;)

Re: ahk_u32 zip - Could not launch file: AU3_Spy.exe  Topic is solved

Posted: 27 Dec 2017, 19:46
by lexikos
WindowSpy.ahk is used in v1.1.27.00.

Re: ahk_u32 zip - Could not launch file: AU3_Spy.exe

Posted: 28 Dec 2017, 11:11
by joedf
Awesome! :+1: