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