Tuesday Tip: Hotkey for toggle menus

A recent Twitter post asked a question about turning on and off the WebSharing server in DEVONthink Pro Office. It was assuming a need for an AppleScript or Keyboard Maestro routine. Well, it’s not AppleScriptable (outside of UI scripting, which I don’t advocate) and Keyboard Maestro is more than is needed for this task.

  1. Open System Preferences > Keyboard > Shortcuts and select App Shortcuts.
  2. Click the Plus (+) button and select DEVONthink Pro Office in the Application dropdown. (If it’s not listed, scroll down to Other… and browse to it.)
  3. In the Menu Title, type Start Server.
  4. In the Keyboard Shortcut, enter a memorable shortcut (noting you need to make sure it’s not going to conflict with other built-in shortcuts). I used Control-Option-=.
  5. Add another shortcut but use Stop Server and use the same exact shortcut!

When you return to DEVONthink Pro Office, you can check the Tools menu and you should see either Start or Stop Server options with the shortcut to the right. Pressing the shortcut will now toggle the server from on to off and back.

With a little ingenuity, you likely can find other apps and menus to apply this trick to.

Leave a Reply

Note: Blog comments are for commenting on a post. They are unsuitable for proper customer support, honestly. Please consider writing to our support team instead.