Page 2 of 2

Re: Replace AU3_Spy.exe with script

Posted: 25 Aug 2016, 23:05
by tank
the AU3 spy that used to be distributed with ahk is not what is in use today. the window spy is a clone written as a script to do the same things. AU3_spy that was origionally distributed is not Window Spy. but they look the same so its an obvious source for confusion

Re: Replace AU3_Spy.exe with script

Posted: 25 Aug 2016, 23:07
by tank
perhaps this is what your asking about
https://raw.githubusercontent.com/fincs ... owInfo.ahk

Re: Replace AU3_Spy.exe with script

Posted: 25 Aug 2016, 23:11
by guest3456
tank wrote:the AU3 spy that used to be distributed with ahk is not what is in use today. the window spy is a clone written as a script to do the same things. AU3_spy that was origionally distributed is not Window Spy. but they look the same so its an obvious source for confusion
i still use the original that was distributed with AHK Basic, and they don't look the same.

but no one was talking about the original anyway
tank wrote:perhaps this is what your asking about
https://raw.githubusercontent.com/fincs ... owInfo.ahk
no. i asked Lexikos where i can find the source for his, since obviously he's making changes to it. i couldn't find it in the AHKL github repo

you've provided the same one that is linked in the OP of this thread. i dont see the #vk41 that i quoted anywhere in fincs' file. you still haven't read my post heh

Re: Replace AU3_Spy.exe with script

Posted: 25 Aug 2016, 23:27
by tank
the one linked is the one currently distributed

Re: Replace AU3_Spy.exe with script

Posted: 25 Aug 2016, 23:30
by tank
If lexikos has another repo for it separate from fincs i am unaware of it

Re: Replace AU3_Spy.exe with script

Posted: 26 Aug 2016, 03:55
by lexikos
I flipped bits at random until it worked. ;)

You can extract it from the executable, mostly. I think this is the only modification, but it seems that I neglected to add this file to source control.

Code: Select all

try
    Hotkey #a, FreezeDisplay
catch
    Hotkey #vk41, FreezeDisplay
I have been meaning to tidy up the installer source (which includes this script) and my build/release scripts and put them on GitHub, but... it's not very interesting. As part of that, I may change AutoHotkey's "Window Spy" menu item to run an uncompiled script.

Re: Replace AU3_Spy.exe with script

Posted: 26 Aug 2016, 10:32
by guest3456
lexikos wrote: I have been meaning to tidy up the installer source (which includes this script) and my build/release scripts and put them on GitHub, but... it's not very interesting. As part of that, I may change AutoHotkey's "Window Spy" menu item to run an uncompiled script.
ok thanks, i'd be interested

Re: Replace AU3_Spy.exe with script

Posted: 20 Nov 2016, 00:43
by lexikos
I've uploaded the AutoHotkey release script and installer source code, including the source code for Active Window Info (aka Window Spy).

https://github.com/Lexikos/AutoHotkey-Release

Re: Replace AU3_Spy.exe with script

Posted: 21 Nov 2016, 09:24
by just me
Hello lexikos,

I've looked at the source of Active Window Info again, because it still has problems if the active window is an editor like PSPad with some large files shown in different tabs. Do you think it makes sense to read the controls text with a maximum length of WINDOW_TEXT_SIZE := 32767 to show it in such a small edit control?

Re: Replace AU3_Spy.exe with script

Posted: 21 Nov 2016, 19:40
by WAZAAAAA
Shouldn't we change the file name to something else, like AHK_Spy.exe? AU3 compatibility with AHK died ages ago

Re: Replace AU3_Spy.exe with script

Posted: 21 Nov 2016, 22:12
by lexikos
AutoHotkey never had "AU3 compatibility". It was called that by the author of the original Window Spy.

Re: Replace AU3_Spy.exe with script

Posted: 22 Nov 2016, 03:57
by WAZAAAAA
lexikos wrote:AutoHotkey never had "AU3 compatibility". It was called that by the author of the original Window Spy.
alright it was v2 not v3 but older installations of AutoIt used to ship with a file called AU3_Spy.exe, and currently that's the extension AutoIt scripts use, so that's where the author took it from, I believe

Re: Replace AU3_Spy.exe with script

Posted: 20 Feb 2017, 02:10
by jNizM

Re: Replace AU3_Spy.exe with script  Topic is solved

Posted: 27 Dec 2017, 18:54
by lexikos
AU3_Spy.exe has been replaced with WindowSpy.ahk in v1.1.27.00.