Suggested clarification in documentation example Topic is solved

Share your ideas as to how the documentation can be improved.
User avatar
JoeWinograd
Posts: 2198
Joined: 10 Feb 2014, 20:00
Location: U.S. Central Time Zone

Suggested clarification in documentation example

Post by JoeWinograd » 02 Aug 2022, 04:53

Not exactly a bug, but I think this is the best board for this post. If not, please move it to where it belongs...thanks!

This is Example #2 at WinMenuSelectItem:

Code: Select all

WinMenuSelectItem, Untitled - Notepad,, 1&, 2&
The 2& is supposed to be the Open menu pick, as shown in Example #1. That is correct for Notepad in Windows earlier than 10. But in Windows 10 and 11, Notepad has a New Window menu pick between New and Open, so this example would be:

Code: Select all

WinMenuSelectItem, Untitled - Notepad,, 1&, 3&
So, I suggest that this example provide clarification on the Open position depending on the Windows version, which is, more generally, a valuable caveat for using this method. That said, menu names can change, so method/example #1 has caveats, too. Regards, Joe

gregster
Posts: 8989
Joined: 30 Sep 2013, 06:48

Re: Suggested clarification in documentation example

Post by gregster » 02 Aug 2022, 05:31

Thank you, Joe, for the suggestion.
I moved your post to our "Suggestions on documentation improvements" subforum.

User avatar
JoeWinograd
Posts: 2198
Joined: 10 Feb 2014, 20:00
Location: U.S. Central Time Zone

Re: Suggested clarification in documentation example

Post by JoeWinograd » 02 Aug 2022, 12:01

Ah, thanks very much, gregster...did not notice that subforum sitting under Wish List...my bad. Cheers, Joe

User avatar
Ragnar
Posts: 613
Joined: 30 Sep 2013, 15:25

Re: Suggested clarification in documentation example  Topic is solved

Post by Ragnar » 11 Aug 2022, 14:25

Thanks for reporting. Changes added in PR #568.

Note: By default, on Windows 11, WinMenuSelectItem no longer works at all in conjunction with Notepad, since it is now a UWP app.

User avatar
JoeWinograd
Posts: 2198
Joined: 10 Feb 2014, 20:00
Location: U.S. Central Time Zone

Re: Suggested clarification in documentation example

Post by JoeWinograd » 11 Aug 2022, 14:46

You're welcome, Ragnar, and thanks back at you for the fast fix...much appreciated! Thanks, too, for the heads-up on the W11/UWP issue...was not aware of that. Regards, Joe

Post Reply

Return to “Suggestions on Documentation Improvements”