I want to open anki from the outside

in anki each card and note have a unique id (which anki internally refers to as cid and nid respectively).

the addon AnkiConnect allows external software send information or trigger some actions in Anki.

There are some published scripts that rely on AnkiConnect, e.g. glutanimate’s python script anki-cli-remote which can open the browser with custom searches (and you can search for card/note ids (Searching - Anki Manual)).

For MacOS you could google for “applescript ankiconnect”

If needed and even if you’re not a programmer you could (try to) adjust code snippets you found with chatgpt.

2 Likes