Really appreciate that, thank you! I tested it some and it works perfectly. Back to my old workflow finally By the way, do you think adding a keyboard shortcut option for toggling it would be a simple matter? I saw that it was an old feature request, and it’s something I’ve been missing too.
And @eroscard, I re-read my previous comment above and realize I was a bit rude. I apologize for that.
@Shigeyuki How can I make the add-on Review lookup search for the exact phrase “ABC XYZ” instead of searching for each individual word “ABC” and “XYZ” separately?
Hi thanks for the screenshot it’s easy to understand. That feature is not yet developed so it is not available, I’ll try to enhance it later so please wait.
In Shige’s spellchecker add-on, if I go to Advanced → select a dictionary → Disable, I get the following error.
Anki 25.08b5 (d4862e99) (ao)
Python 3.13.5 Qt 6.8.1 PyQt 6.8.1
Platform: Windows-11-10.0.26100-SP0
Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Anki2\addons21\143753963\dict.py", line 268, in _disable
os.remove(file_path)
~~~~~~~~~^^^^^^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\User\\AppData\\Roaming\\Anki2\\dictionaries\\en.bdic'
If I try to delete it directly through the Windows File Manager, I get this error:
The action can't be completed because the file is open in Python
Close the file and try again.
Workaround: Close Anki and delete the file through the File Manager.
Hi thanks for reporting the problem. It seems that the dictionary file is still in use by the add-on so it cannot be deleted, I think the code needs to be changed to either completely release access or delete it after restarting Anki, so I’ll look into it.
This error got resolved after I added a personal.aff file to the %APPDATA%\Anki2\addons21\143753963\user_files\user_dics folder. I obtained this file by copying the en_US.aff file from LibreOffice and renaming it to personal.aff