OpenInExternalEditor,Rename,Duplicate for Image,Audio,Video
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
- 2.1.22-2.1.54+ (Updated 2022-07-06)
To download this add-on, please copy and paste the following code into Anki 2.1:
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.
All Anki 2.1.x Add-Ons Contact Author
Disable all other add-ons and restart Anki. Does the problem persist after this? If so: which anki version do you use, which version of my add-on (the most recent one from ankiweb?), which MS version do you use?
Since I don't use much windows my knowledge about dealing with windows problems is very limited. You could try a different image editing program? I've heard good things about e.g. paint.net or irfanview? Is it any different with other programs? For the simple image editing that mspaint offers there's also the add-on "Image Editor"
If you decide to answer: make a new issue in my support thread in the anki forum (click the button contact author in the upper right of this page).
Thank you very much for your work. (Anki v2.1.43)
From now on I'm also gonna use it to rename images (which I use more and more), because pasting gives images a generic, pretty meaningless name.
Unfortunately since the last updated I don't know why it doesn't work anymore. I use your addon to edit audios in an external program called WavePad, to do that I change the path in "settings" exactly like described below, but since the last update when try to edit the audio files it doesn't open any program. I also tried to edit the file "config.json" in notepad but it doesn't work as well. I hope you can help me with this matter, thanks in advance!
"File Manager in Linux and its args": [
"sound__external_program_audio": "C:\\Program Files (x86)\\NCH Software\\WavePad\\wavepad.exe",
I use a copy image buffer function that creates 255 char long file names, so images disappear sometimes via sync and maybe add-ons, or when Ankidroid has been used and synced. I'm convinced this is why images disappear so I rename the files to some more decent "expected" size.
It would be great to have an option to batch rename long files, or autorename as a card is saved but as the function I'm using is already experimental it might be too high risk to implement as a general feature!
Anyway thanks, every useful.
I labelled the function as "experimental" as a precaution. For me it works and I it should work in general but why risk it? Many people never do backups and the old versions of the database that Anki keeps don't comprise the media folder.
When I choose the context menu option “Show this Sound in Finder”, it actually opens the soundfile in my standard editor (and not in the Finder). Specifying other editors, etc. had no effect. The context menu option “Edit this Sound in Finder” was likewise without effect.
A shortcut that allows one to open the file would be extremely helpful.
I have updated the add-on. Now it should open the file manager on your mac. The problem is that I didn't find a way to make the Finder preselect the file you opened. If you have thousands of files in your media collection this would be unfortunate. So you should now see an info window that shows you the name of the file. You can copy this file name and use it to search in the finder window that was just opened.
Does this work for you? Could you also test the other functions from the add-on. The latest release contains multiple under the hood changes.
If you find problems it's easier to continue our conversation on reddit (I'm /u/ijgnord) or on github, https://github.com/ijgnd/anki21__OpenInExternalEditor_Rename_Duplicate_for_Image_Audio_Video