Window Spy for AHKv2 - 2021/07/09 - beta.1

Post your working scripts, libraries and tools.
User avatar
TheArkive
Posts: 1027
Joined: 05 Aug 2016, 08:06
Location: The Construct
Contact:

Re: Window Spy for AHKv2 - 2021/05/08 - a134

22 May 2021, 06:09

Ok I'll work on removing redundant code and showing the position of the client area.
User avatar
TheArkive
Posts: 1027
Joined: 05 Aug 2016, 08:06
Location: The Construct
Contact:

Re: Window Spy for AHKv2 - 2021/05/29 - a136

29 May 2021, 09:42

@lexikos
Updates are done and pull request made.
hpta
Posts: 24
Joined: 27 Sep 2019, 01:43

Re: Window Spy for AHKv2 - 2021/07/09 - beta.1

02 Aug 2021, 03:36

Please correct me if I'm wrong. Regarding mouse coords - the windows spy v2 is showing for example

Window: 1812, 526 (default)
Client: 1804, 518 (recommended)

If I run (beta v2) a new script with just
msgbox A_CoordModeMouse
it returns Client

So I think Windows Spy should show (default) next to the Client coords. Btw in the docs I couldn't find what is default.
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: Window Spy for AHKv2 - 2021/07/09 - beta.1

02 Aug 2021, 04:09

@hpta Correct; the default was Window in v1, but it is Client in v2.
If this function is not used, all built-in functions except those documented otherwise (e.g. WinMove and InputBox) use coordinates that are relative to the active window's client area.
Source: CoordMode - Syntax & Usage | AutoHotkey v2
User avatar
TheArkive
Posts: 1027
Joined: 05 Aug 2016, 08:06
Location: The Construct
Contact:

Re: Window Spy for AHKv2 - 2021/07/09 - beta.1

02 Aug 2021, 04:11

Shall i change it then?

EDIT: and do you have any other changes / specifics in mind?
User avatar
TheArkive
Posts: 1027
Joined: 05 Aug 2016, 08:06
Location: The Construct
Contact:

Re: Window Spy for AHKv2 - 2021/07/09 - beta.1

02 Aug 2021, 04:26

@lexikos

Several things jumped out to me looking at it this time around.

EDIT: Pushed changes to pull request on github.

Return to “Scripts and Functions (v2)”

Who is online

Users browsing this forum: TomDonovan, V2User and 12 guests