6 Replies
      Latest reply on Sep 24, 2019 6:45 PM by john daniel
      Albinus Level 1 Level 1 (0 points)

        I've created a very simple one-window macOS app. All the help text for the app is contained in a single plain text file of less than 500 words. I've set up an action and a view controller to display that text when the Help-AppHelp menu item is clicked. But there's a search field that appears above that menu item. The search field serves no purpose whatsoever, but I can't get rid of it.


        I tried deleting the default Help menu and substituting one of my own in the storyboard. But the search field appears again, unbidden. Is there a setting somewhere that will let me disable it?

        • Re: Unwanted help menu items
          Claude31 Level 8 Level 8 (7,005 points)

          I have the same behavior, and cannot get rid of this search.


          I have not tested, but I think this could be a solution:

          - create a new menu in MenuBar

          - set the action for the help (add the command-? shortcut)

          - remove the older menu in MenuBar

          • Re: Unwanted help menu items
            Albinus Level 1 Level 1 (0 points)

            I deleted the default "Help" menu and inserted one of my own. But it seems that giving a new menu item the title "Help" is all that's needed to have the search field added by default. I changed it to "Info" and the search field no longer appears.

            • Re: Unwanted help menu items
              john daniel Level 4 Level 4 (500 points)

              I have finally open-sourced my drop-in replacement for Apple's help system. The URL is github.com/etresoft/ESHelp


              It offers the following improvements over Apple's system:

              1. Dark mode support.
              2. Anchors work every time.
              3. This is an app window rather than a system window. When your app quits, the help window closes too.
              4. Searches in your app will only display help in your app. You won’t get results from potentially competing apps.
              5. The search field in the menu bar will work as you expect and display help results in the same window.
              6. Since the help bundle is a valid help bundle, your app’s help will be available via search from the system help tool.
              7. If you need to debug your appearance, everything works great in debug mode.
              8. The sidebar button is replaced with a home button to quickly jump back to the top level of help from an anchor, saving a trip to the menu.
              9. The share button is functional. Apple’s share services don't work with web archives, so the only thing I can share is the URL. It works, but there is no CSS so it isn't pretty. The share button is disabled by default.