Anki Add-on for Unique Note Identification
This add-on is a modified (copy) of "Add note id" for Anki23+.
Original : Add note id / Author : ospalh
This Anki add-on is designed to ensure that each note has a universal unique identifier (UUID) by adding a UUID to a specified field (โNote IDโ).
It provides both a manual option to add UUIDs to all existing notes via a menu item and an automatic option that adds a UUID when a note is loaded into the editor if the field is empty.
This functionality is useful for ensuring that notes are uniquely identifiable, which can be important for tracking, exporting, or synchronization purposes.
How It works
- Menu Item: A new menu item labeled โAdd Note IDsโ will appear in Ankiโs Tools menu.
- User Prompt: When you select the โAdd Note IDsโ menu item, you will be prompted to confirm the action.
- Progress Dialog: A progress dialog will show the status of the operation as UUIDs are added to notes.
- Field Creation: The add-on will ensure that the โNote IDโ field exists in all note types. If the field does not exist, it will be created.
- UUID Assignment: UUIDs will be assigned to the โNote IDโ field in all notes where the field is empty.
- Automatic UUIDs in Editor: When a note is loaded in the editor, the add-on will check if the โNote IDโ field exists and is empty. If it is missing, the field will be added, and a UUID will be assigned if the field is empty.
To to proper use this Add-on, change โNote ID" field to the first position of the note type field.
Summary
This add-on ensures that each Anki note has a unique identifier, aiding in the tracking, exporting, and synchronization of notes. The UUIDs can be added manually through a menu item or automatically when notes are loaded in the editor.