WINGET return values for non-existing windows

Share your ideas as to how the documentation can be improved.
joefiesta
Posts: 377
Joined: 24 Jan 2016, 13:54
Location: Pa., USA

WINGET return values for non-existing windows

26 May 2020, 09:59

All the subcommands of the WINGET command accept a window specification.

For some of the winget subcommands, the following is stated:
If there is no matching window, OutputVar is made blank.
I believe this statement applies to ALL the subcommands of WINGET. This would also make me feel the statement should be with the definition of OUTPUTVAR, and not listed (many times!) with each different subcommand.
User avatar
Ragnar
Posts: 306
Joined: 30 Sep 2013, 15:25

Re: WINGET return values for non-existing windows

26 May 2020, 12:31

joefiesta wrote: I believe this statement applies to ALL the subcommands of WINGET.
You're wrong, because:

ID: blank
IDLast: blank (not documented)
PID: blank (not documented)
ProcessName: blank
ProcessPath: blank
Count: 0
List: 0
MinMax: blank
ControlList: blank
ControlListHwnd: blank
Transparent: blank
TransColor: blank
Style: blank
ExStyle: blank

But at least your report was not completely in vain ;) - I will add this statement to IDLast and PID.
joefiesta
Posts: 377
Joined: 24 Jan 2016, 13:54
Location: Pa., USA

Re: WINGET return values for non-existing windows

26 May 2020, 18:39

Thanks Ragnar. Like I said: "I believe this statement....". I was not absolutely certain; however, it was clear there is a problem.

Please note:

It also APPEARS that WINGETCLASS and WINGETTITLE also suffer the same deficiency.

Return to “Suggestions on documentation improvements”

Who is online

Users browsing this forum: No registered users and 1 guest