Re:Ask HN: What feature did you find after years of using ma...
by donatj on Saturday August 08, 2020 @10:56AM
(#24092056)
Command-Shift-? is the better version of this imho, directly opens the help menu and you can just type the name of the menu item and hit enter. Way quicker than navigating to it.
[ Parent
| on HN ]
Re:Ask HN: What feature did you find after years of using ma...
by hobs on Saturday August 08, 2020 @11:42AM
(#24092479)
Yep this is what I came to say - OSX's help menu automatically searches all menu commands and if you hover over them it will open up the menu, show you the location, and if you hit enter just use it for you.
This is also something you can generally call from Applescript as well, if you want to automate application behaviors.
Re:Ask HN: What feature did you find after years of using ma...
by IggleSniggle on Saturday August 08, 2020 @12:08PM
(#24092695)
Mind sharing an example AppleScript of that? Every time I’ve dug in there, it’s never had quite what I wanted. But this seems like an especially leverage-able idea.
Re:Ask HN: What feature did you find after years of using ma...
by hobs on Saturday August 08, 2020 @03:01PM
(#24094166)
It's been about 10 years since I touched that code, so apologies if these are all things you know.
I am pretty sure most of the work was just extending the documentation in https://developer.apple.com/library/archive/documentation/La... with looking up application "dictionaries" (iirc, a box of supported commands) and all menu items being accessible by default.
https://developer.apple.com/library/archive/documentation/Ap...