macOS Look Up for Anki

AnkiWeb addon 859636264

Adds a macOS Look Up option to the right-click menu, opening the system dictionary panel over selected text in the reviewer, previewer, card layout and editor, plus native menus and an L shortcut.
AI-generated summary; may contain mistakes.

shortcutsdictionary

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-10-23
Anki versions
25.09.4~
Languages
Python, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-10-23 (9 days before the snapshot).
  • Commits in the last year: 4.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
25.0925.09.4+2026-10-23
History across monthly snapshots

Loading…

Similar addons

Quick Dictionary Lookup

Looks up definitions of selected words and phrases during review via the macOS dictionary, opened with Cmd+D instead of a context menu.

shortcutsdictionary

4 votes 51% approval πŸ‘ 4 Β· πŸ‘Ž 0 Anki 2.1.16~ Updated 2020-02-21
Chinese Word Synonyms

Shows offline synonyms from your own collection on Chinese review cards as known/total counts on the front and a clickable synonyms panel on the back.

searchdictionary

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 1 Anki 25.09.2~ Updated 2026-09-07
Waydict: dictionary importer

Imports yomitan-format dictionary zip files and adds definitions to selected notes using configurable note types, source and destination fields, with HTML or plain-text output and optional overwriting.

card-creationimportnote-managementdictionary

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 4 Anki 24.11~ Updated 2025-03-02

Description

macOS only. On Windows and Linux the add-on loads and does nothing.

On any card, select a word, right-click and choose "Look Up "…" in Dictionary". The macOS Look Up panel opens over the word as you are used to in macOS.

  • Works in the reviewer, previewer, card layout screen and editor.
  • Review shortcut: select a word and press L (configurable).
  • Right-click menus on cards and in the editor are shown as native macOS menus, with the same items (option native_menu).
  • Menu item and messages in English, Italian or Japanese, following Anki.

Limitations: while a native menu is open, Anki's timers pause. Tested only with Anki 25.09.4 on macOS 27, Apple Silicon.

Privacy: The selected text goes only to macOS Look Up or the Dictionary app, and only when you ask. It uses Apple's AppKit through Python's ctypes, with no extra libraries.

Earlier add-ons from other people: (OSX Dictionary Lookup, Mac OSX Dictionary Lookup).

Guide in English, Italian and Japanese, source code and bug reports: https://github.com/Amost-/anki-macos-look-up License: AGPL-3.0-or-later.

README

macOS Look Up for Anki

Italiano Β· ζ—₯本θͺž

Select a word on a card, right-click and choose Look Up "…" in Dictionary. The macOS Look Up panel opens over the word, as in Safari or in AnkiMobile on iPhone.

macOS only. On Windows and Linux the add-on loads and does nothing.

Right-click on a selected word Look Up panel over the word
Right-click menu with the Look Up item macOS Look Up panel over the selected word

What it does

  • Adds Look Up "…" in Dictionary at the top of the right-click menu when text is selected. It works in the reviewer, the previewer, the card layout screen and the editor (Add, Edit, Browse).
  • Opens the macOS Look Up panel over the selected word, with the dictionaries enabled in the Dictionary app. Open in Dictionary in the panel shows the full entry. If the panel cannot be shown, the Dictionary app opens on the word instead.
  • Shortcut during review: select a word and press L.
  • Shows the right-click menus of cards and of the editor as native macOS menus, with the same items as Anki's own menus.
  • The menu item and messages follow Anki's language: English, Italian or Japanese (English for any other language).

Install

  • From AnkiWeb: Tools β†’ Add-ons β†’ Get Add-ons…, enter the code 859636264, restart Anki. Add-on page: https://ankiweb.net/shared/info/859636264
  • From a file: download the .ankiaddon file from Releases, double-click it or use Tools β†’ Add-ons β†’ Install from file…, then restart Anki.

Use

  1. Select a word on a card: double-click it or drag over it.
  2. Right-click and choose Look Up "…" in Dictionary. During review you can press L instead.
  3. To choose which dictionaries appear in the panel, open the Dictionary app β†’ Settings. For Japanese, enable for example γ‚ΉγƒΌγƒ‘γƒΌε€§θΎžζž— and the Japanese–English dictionary.

Options

Tools β†’ Add-ons β†’ select the add-on β†’ Config. Changes apply from the next right-click; the shortcut changes after restarting Anki.

Option Default Meaning
mode "popover" "popover": Look Up panel over the word. "dictionary_app": open the Dictionary app instead.
menu_label "" Text of the menu item; {text} is replaced by the selection. Empty: use Anki's language.
max_label_chars 20 Longest selection shown in the menu item. The lookup always uses the whole selection, up to 100 characters.
in_editor true Also add the item in the editor.
native_menu true Show right-click menus as native macOS menus. false: keep Anki's menus.
shortcut "L" Review shortcut. In Qt names on macOS, Ctrl = ⌘, Alt = βŒ₯, Meta = βŒƒ. "" turns it off.

Limitations

  • βŒƒβŒ˜D, the macOS Look Up shortcut, cannot be used: macOS keeps it for itself and never passes it to Anki. That is why the shortcut is L.
  • While a native menu is open, Anki's timers are paused, so the card behind the menu does not update until the menu closes.
  • Menus that contain controls such as sliders, added by other add-ons, are shown as Anki's own menu.
  • In editor fields the panel can open at the mouse pointer instead of exactly over the word.
  • If the Dictionary app opens instead of the panel, check the Dictionary app's settings: on some macOS versions they choose whether a lookup opens the panel or the app.
  • Tested only with Anki 25.09.4 (Qt 6.9) on macOS 27, Apple Silicon. Intel Macs and other Anki versions have not been tested.

Privacy and safety

  • The add-on makes no network requests, does not read or change your collection and writes no files.
  • The selected text, up to 100 characters, goes to the macOS Look Up panel or to the Dictionary app, and only when you choose the menu item or press the shortcut. The Look Up panel itself can show online sources such as Wikipedia, depending on your macOS settings; that is macOS, not the add-on.
  • It calls Apple's AppKit through Python's ctypes, with no extra libraries:
    • showDefinitionForAttributedString:atPoint: for the panel;
    • NSMenu for the menus;
    • NSWorkspace to open the Dictionary app, with the open command as fallback.
  • After a native menu closes it calls Qt's internal resetMouseButtons, as Qt itself does after its own native menus, so the next clicks reach Anki's toolbars.
  • The source is the Python files in this folder: __init__.py, macos_lookup.py, native_menu.py, objc_bridge.py.

Problems and suggestions

Open an issue: https://github.com/Amost-/anki-macos-look-up/issues

Remove

Tools β†’ Add-ons β†’ select the add-on β†’ Delete, then restart Anki.

Credits

Earlier add-ons, OSX Dictionary Lookup and Mac OSX Dictionary Lookup, open the Dictionary app. This add-on adds the in-place Look Up panel and native menus.

License

AGPL-3.0-or-later, the same license as Anki. See LICENSE.