GithubHelp home page GithubHelp logo

glutanimate / batch-editing Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 7.0 81 KB

Batch Editing add-on for Anki

Home Page: https://ankiweb.net/shared/info/291119185

License: Other

Python 100.00%
anki anki-addon education flashcards learning srs

batch-editing's People

Contributors

arthur-milchior avatar glutanimate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

batch-editing's Issues

[Anki 23.10 beta 6] No module named 'PyQt5'

Problem description

The Qt5 compatibility code is now off by default, which may break some add-ons that haven't been updated to support Qt6 in the last 2 years. If you find any have broken, please report the issues to the add-on author, and start Anki after setting the env var ENABLE_QT5_COMPAT to 1 to temporarily restore the compatibility code.

Checklist

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

    
    Anki 23.10 (72e57456) Python 3.9.15 Qt 6.5.2 PyQt 6.5.2
    Platform: Windows-10-10.0.19045
    Flags: frz=True ao=True sv=3
    Add-ons, last update check: 2023-10-14 10:11:10
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['DecksAddBrowseStatsSync', 0, 'None', '']
    '' ['decknamebackgroundimage', 0, 'None', '']
    '' ['enableplover', 0, 'None', '']
    '' ['numbers2stripes █▓▒░', 0, 'None', '']
    '' ['tagtovlc', 0, 'None', mod]
    Add Table ['1237621971', 2023-06-18T04:37, 'None', '']
    Advanced Browser ['874215009', 2023-07-01T12:55, 'None', '']
    Advanced Review Bottom Bar ['1136455830', 2023-09-16T13:48, 'None', '']
    Anki Browser Context Menu Search ['422526650', 2019-11-13T12:21, 'None', '']
    Anki JavaScript API ['1490471827', 2021-02-19T12:54, 'None', '']
    Anki Killstreaks ['579111794', 2021-12-15T07:20, 'None', '']
    AnkiBrain AnkiChatGPT - GPT-4 GPT 35 Complete Integration ['1915225457', 2023-09-27T22:50, 'None', '']
    AnkiCollab - The free collaboration Platform ['1957538407', 2023-09-30T02:19, 'None', mod]
    AnkiConnect ['2055492159', 2023-04-11T10:20, 'None', mod]
    AnkiWebView Inspector ['31746032', 2023-06-27T12:26, 'None', '']
    Ankicord - Discord Rich Presence ['1828536813', 2023-08-16T08:53, 'None', '']
    AnnA Companion Anki neuronal Appendix - do LESS reviews with MORE retention ['447942356', 2022-02-09T05:05, 'None', '']
    Answer Visual Confirmation ['1208806023', 2008-04-21T12:27, 'None', '']
    Batch Editing ['291119185', 2019-06-04T16:10, 'None', '']
    Bury After Fail Streak ['966431904', 2023-06-06T07:14, 'None', '']
    Change Interface Font ['1431333984', 2023-07-20T23:17, 'None', mod]
    Cloze Hide All ['1709973686', 2021-09-11T03:00, '21.9.11i107', mod]
    Cloze Overlapper for Anki 21 ['109531687', 2021-01-11T19:12, 'None', '']
    Contanki - Controller Support for Anki beta ['1898790263', 2023-02-01T17:04, 'v0.9.2-beta', mod]
    Content Injector ['166455199', 2020-09-03T09:08, 'None', mod]
    Deck Browser CSS ['153779542', 2022-10-18T08:53, 'None', '']
    Edit Field During Review Cloze ['385888438', 2023-10-08T20:54, '6.16', mod]
    Edit LaTeX build process ['937148547', 2018-10-12T14:33, 'None', mod]
    Enhance main window ['877182321', 2023-01-15T23:50, 'None', mod]
    FSRS4Anki Helper ['759844606', 2023-10-14T00:09, 'None', mod]
    Highlight Search Results in the Browser ['225180905', 2021-03-10T09:06, 'None', '']
    HyperTTS - Add speech to your flashcards ['111623432', 2023-08-30T21:32, 'None', mod]
    Image Occlusion Enhanced ['1374772155', 2022-04-09T00:15, 'None', '']
    Incremental Reading v4118 unofficial clone ['999215520', 2023-07-31T22:57, 'None', '']
    IntelliFiller ChatGPT ['1416178071', 2023-06-29T11:23, '1.1.0', '']
    Kanji Grid ['909972618', 2019-01-09T14:40, 'None', mod]
    Leaderboard ['41708974', 2023-01-15T02:53, 'None', mod]
    Learn now  Grade now ['1021636467', 2023-05-09T15:09, 'None', '']
    MathJax to LaTeX if it contains a command ['1342506526', 2020-05-20T18:15, 'None', '']
    Migaku Chinese ['498302176', 2021-04-12T15:29, 'None', mod]
    Migaku Retirement ['1666520655', 2021-01-13T16:37, 'None', mod]
    Mindmap from tag hierarchy ['965278890', 2022-11-16T02:55, 'None', '']
    MorphMan for Anki 21 ['900801631', 2023-08-17T19:37, 'None', '']
    Neo Anki Leaderboard ['1894428367', 2023-03-09T12:27, 'None', mod]
    Opening the same window multiple time ['354407385', 2020-05-15T17:59, 'None', '']
    Play a celebrationcompletion sound when you finish your deck ['978869609', 2023-09-29T10:08, 'None', mod]
    Progress Bar cards done cards left secondscard time spentleft and ETA ['1097423555', 2023-10-02T01:05, 'None', mod]
    Rendered Browser ['993394845', 2022-07-04T14:55, 'None', '']
    Review Heatmap ['1771074083', 2022-06-29T18:43, 'None', '']
    Review Hotmouse ['1928346827', 2022-05-16T21:25, '2.6', mod]
    Ruzu Pop-ups ['1736169259', 2022-12-26T17:07, 'v0.0.4', mod]
    Touch Screen - draw and write on your cards ['1631622775', 2019-04-20T12:26, 'None', '']
    True Retention by Card Maturity Simplified ['1779060522', 2020-06-28T06:45, 'None', '']
    add-on dialog searchfilter bar ['561945101', 2023-06-15T05:39, 'None', '']
    extended editor for field for tables searchreplace ['805891399', 2023-07-31T07:12, 'None', mod]
    link Cards Notes and Preview them in extra window ['1423933177', 2023-03-19T11:33, 'None', '']
    right hand reviews  hjkl answer shortcuts  Handy Answer Keys configurable ['850294128', 2023-05-24T01:59, 'None', mod]
    
    ===IDs of active AnkiWeb add-ons===
    1021636467 109531687 1097423555 111623432 1136455830 1208806023 1237621971 1342506526 1374772155 1416178071 1423933177 1431333984 1490471827 153779542 1631622775 166455199 1666520655 1709973686 1736169259 1771074083 1779060522 1828536813 1894428367 1898790263 1915225457 1928346827 1957538407 2055492159 225180905 291119185 31746032 354407385 385888438 41708974 422526650 447942356 498302176 561945101 579111794 759844606 805891399 850294128 874215009 877182321 900801631 909972618 937148547 965278890 966431904 978869609 993394845 999215520
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['MorphMan', 0, 'None', '']
    '' ['TitleAgo', 0, 'None', '']
    '' ['autoLearningSteps', 0, 'None', '']
    '' ['cloze_overlapper', 0, 'None', '']
    '' ['countnotifier', 0, 'None', '']
    '' ['deckpercentnotch', 0, 'None', '']
    '' ['fsrs4anki-helper', 0, 'None', mod]
    '' ['speech-to-text', 0, 'None', '']
    3 add-ons merged quicker anki explain deletion explain database check ['777545149', 2019-09-26T06:03, 'None', '']
    ActivityWatch for Anki ['567877061', 2023-10-07T15:05, 'None', '']
    Add Card Do First Review ['1394953283', 2020-11-11T06:40, 'None', '']
    Add Parent Tag To Every Tag In A Deck ['543106186', 2019-11-20T18:30, 'None', '']
    Advanced Answer Sounds ['1167194350', 2022-05-29T00:30, 'None', '']
    Advanced Copy Fields ['1898445115', 2019-05-03T11:46, 'None', '']
    Almost Mandatory Tags ['1386232247', 2022-12-28T09:51, 'None', '']
    Anki Preview Reloader ['571150035', 2023-04-22T12:29, '1.0.0', '']
    Anki Simulator ['817108664', 2021-08-07T12:24, 'None', '']
    Anki Time anti-distraction helper ['998250600', 2023-01-09T05:44, 'None', '']
    Anki X Markdown X MindMap ['728482867', 2022-07-08T21:07, 'None', '']
    Anki Zoom ['538879081', 2020-04-03T17:20, 'v1.1.3', '']
    Anki with Friends ['613520216', 2022-02-05T08:40, 'None', mod]
    Anki-redesign ['308574457', 2023-02-04T10:43, 'None', mod]
    AnkiFlash Flashcards Importer Vietnamese English Japanese Chinese French ['1129289384', 2021-11-27T11:52, 'None', '']
    AnkiHub ['1322529746', 2023-10-10T04:54, 'None', mod]
    AnkiOCR ['450181164', 2021-09-18T22:55, 'None', '']
    AnkiPet - gamify your learning by caring for a pet ['1296038972', 2021-05-18T00:18, 'None', '']
    Ankimote - remote to control Anki from your phone ['149004221', 2021-08-11T09:57, 'None', '']
    Asset Manager ['656021484', 2021-08-29T14:07, 'None', '']
    Auto Ease Factor ['1672712021', 2021-03-21T11:11, 'None', mod]
    AutoDefine - Automatically define vocabulary words with pronunciations and image ['2136497008', 2020-11-15T15:16, 'None', mod]
    AwesomeTTS - Add speech to your flashcards ['1436550454', 2023-07-24T16:48, 'None', '']
    Browser TableEditor side-by-side horizontal split ['831846358', 2022-01-25T14:11, 'None', '']
    CC-CEDICT for Anki Chinese dictionary ['418828045', 2022-03-23T05:22, 'None', mod]
    CN Bulk Generate Chinese Hanzi Homophone List to field ['1709020234', 2017-09-18T00:41, 'None', '']
    Chinese Companion - frequency sort HSK suspend heisig support and more ['2129668097', 2019-05-20T01:02, 'None', '']
    Chinese Pinyin Translator Zhuyin Bopomofo Gwoyeu Romatzyh ['1792056402', 2018-11-08T19:27, 'None', mod]
    Chinese Prestudy ['882364911', 2020-11-02T22:43, 'None', '']
    Chinese Stats ['1959794557', 2022-01-29T23:06, 'None', mod]
    Chinese Support Redux v0142 ['1128979221', 2021-03-28T19:19, 'None', mod]
    Chinese Vocabulary Generator ['1370756741', 2021-02-24T00:07, 'None', '']
    Chinese Words Finder ['2048169015', 2020-07-07T05:32, 'None', '']
    Chinese-Text-Scanner ['2121493325', 2020-06-27T21:53, 'None', mod]
    Cloze Anything ['330680661', 2021-12-08T23:34, 'None', '']
    Color Confirmation ['1084228676', 2020-03-14T05:13, 'None', mod]
    Colorful Tags  Hierarchical Tags ['594329229', 2022-09-15T08:06, 'None', '']
    Congrats Confetti ['206062158', 2023-01-16T20:02, 'None', '']
    Convert Subdecks to Tag Hierarchy ['1172858842', 2023-02-07T10:15, 'None', '']
    Cookie monster ['1501583548', 2018-04-13T02:38, 'None', '']
    Correcting a bug in anki which makes new card appearing in wrong order ['127334978', 2019-12-09T01:38, 'None', '']
    Countdown To Events and Exams ['1143540799', 2022-06-27T04:50, 'None', '']
    Create subs2srs cards with mpv  interactive subs ['832294226', 2023-03-08T03:45, 'None', '']
    CrowdAnki JSON exportimport Edit history Collaborate on deck creation ['1788670778', 2023-07-14T17:31, 'None', '']
    Custom Background Image and Gear Icon ['1210908941', 2023-04-18T18:19, 'None', mod]
    Deck Counts NowLater ['1836212767', 2020-09-09T08:33, 'None', '']
    DeepL Translator ['972129549', 2022-07-30T15:16, '1.0.0', mod]
    Delay siblings ['1369579727', 2022-06-03T16:05, 'None', mod]
    DrawingPad ['370778248', 2023-09-16T12:49, 'None', '']
    Editor Live Preview ['1960039667', 2023-09-25T02:56, 'None', mod]
    Enhanced Cloze for Anki 21 ['1990296174', 2023-09-10T11:48, 'None', '']
    Extended Card Stats During Review ['1008566916', 2017-08-29T11:59, 'None', '']
    Fast Word Query Multi-threaded queries for words from local or web dictionaries ['1807206748', 2019-06-22T20:10, 'None', '']
    Fast cards reposition ['544982740', 2021-09-19T06:51, 'None', '']
    Fill the blanks - Multiple typecloze support ['1933645497', 2023-05-03T11:21, 'None', '']
    Find and Replace in Notetypes ['992153575', 2023-08-18T20:14, 'None', '']
    Fix invalid card IDs ['196231552', 2021-11-25T17:33, 'None', '']
    Flag label ['671965183', 2023-03-22T01:44, 'None', '']
    Flexible Cloze ['1632356464', 2023-01-21T08:04, 'None', '']
    Grid Fields ['796923308', 2021-04-09T12:09, 'None', '']
    HTML Window source ['1214415810', 2020-02-18T05:20, 'None', '']
    Hitmarkers ['1776869150', 2020-03-31T15:04, 'None', '']
    Large and Colorful Buttons ['1829090218', 2018-10-02T10:41, 'None', '']
    Life Drain ['715575551', 2023-06-20T04:41, 'None', mod]
    LilyPond sheet music typesetting integration ['1080109152', 2021-09-28T15:16, 'None', mod]
    Markdown and KaTeX Support ['1087328706', 2023-05-06T04:28, 'None', '']
    Memory Status Bar and Stats ['1582352817', 2023-02-28T09:04, 'None', '']
    Migaku Anki Add-on ['1846879528', 2023-09-20T01:24, 'None', mod]
    More Decks Stats and Time Left ['1556734708', 2023-09-24T07:08, 'None', '']
    More Overview Stats ['2116130837', 2022-09-16T10:56, 'None', '']
    Motivanki ['663438166', 2022-06-23T08:38, 'None', '']
    Multiple Choice for Anki ['1566095810', 2023-07-20T02:59, 'None', '']
    No Distractions Full Screen Clean review interface WORKING ['1799768115', 2022-11-20T11:04, 'v4.1.8', mod]
    Photo-episodic 20 ['1989739687', 2020-08-26T17:15, 'None', '']
    Pokemanki ['633922407', 2021-02-24T10:49, 'None', '']
    Pop-up Wikipedia Beta ['395343016', 2020-01-08T19:58, 'None', '']
    Puppy Reinforcement ['1722658993', 2020-03-02T12:23, 'None', '']
    Quick note and deck buttons Fork for 21 ['1331140127', 2022-05-23T06:13, 'None', '']
    Quizlet to Anki 21 Importer with audio support ['1362209126', 2023-06-18T06:31, 'None', '']
    ReColor ['688199788', 2023-04-24T05:23, '2.5', mod]
    Readable Addons Folder ['5720472', 2023-04-15T19:51, 'None', '']
    Remaining time for Anki 21 ['1508357010', 2020-12-13T06:14, '20.12.13i151', '']
    RuneScape-Gamification ['931346754', 2022-12-27T13:06, 'None', '']
    Search and Replace Tags ['138501288', 2018-02-08T16:03, 'None', '']
    Searching PDF Reading  Note-Taking in Add Dialog ['1781298089', 2022-08-15T00:22, 'None', mod]
    Semantic HTML tags in editor ['844409145', 2019-03-20T15:26, 'None', mod]
    Show answer with number keys ['188886658', 2021-03-08T09:35, 'None', '']
    Speed Focus Mode auto-alert auto-reveal auto-answer ['1046608507', 2022-12-16T03:24, 'None', '']
    Stats Overview Pie Graph with Distinct Learning and-or Relearning Sections ['1828603731', 2019-03-27T13:38, 'None', '']
    Stats Plus ['1009670238', 2021-03-04T04:23, 'None', '']
    Study Time Stats ['1247171202', 2023-09-28T09:30, 'None', '']
    Test Your Pronunciation Cloud Speech to Text ['673333980', 2021-04-16T07:34, 'None', '']
    Update lookup Tags ['1715601279', 2018-11-19T10:25, 'None', '']
    Web Browser - Search terms Import texts and images automatically ['864545277', 2022-08-02T13:49, 'None', mod]
    Write on your screen ['567651868', 2023-03-10T22:58, 'None', '']
    YT Subs2SRS ['1633834851', 2020-03-19T05:43, 'None', '']
    Yomisama JapaneseChinese ['907186589', 2020-07-24T10:18, 'None', '']
    Youtubes Video to SRS Deck ['1023383878', 2021-12-05T05:59, 'None', '']
    ZIM Reader ['951350249', 2023-02-21T13:12, 'None', mod]
    maobi - Chinese Hanzi Writing Quizzes in Anki v0 5 2 ['931477147', 2021-02-21T09:14, 'None', mod]
    numbers2polyhedrastripes ['2088639269', 2023-06-29T03:18, 'None', '']
  • OS: Windows
  • version: 10

imagen

Error message (if any)

Error
Un complemento que has instalado ha fallado al cargarse. Si los problemas persisten, por favor ve a Herramientas> Menú de complementos o deshabilita este complemento.

Mientras cargando '⁨Batch Editing⁩':
⁨Traceback (most recent call last):
  File "aqt.addons", line 239, in loadAddons
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\291119185\__init__.py", line 41, in <module>
    from . import main  # noqa: F401
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\291119185\main.py", line 54, in <module>
    initializeQtResources()
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\291119185\gui\__init__.py", line 41, in initializeQtResources
    from . import resources  # noqa: F401
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\291119185\gui\resources\__init__.py", line 41, in <module>
    from .anki21 import *  # noqa: F401
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\291119185\gui\resources\anki21\__init__.py", line 20, in <module>
    from . import icons_rc
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\291119185\gui\resources\anki21\icons_rc.py", line 9, in <module>
    from PyQt5 import QtCore
ModuleNotFoundError: No module named 'PyQt5'

fixes:
icons_rc.py

#from PyQt5 import QtCore
try:
    from PyQt6 import QtCore
except ImportError:
    from PyQt5 import QtCore

main.py

        #f_hbox.setAlignment(Qt.AlignLeft)
        f_hbox.setAlignment(Qt.AlignmentFlag.AlignLeft)

        #button_box = QDialogButtonBox(Qt.Horizontal, self)
        button_box = QDialogButtonBox(Qt.Orientation.Horizontal, self)
        adda_btn = button_box.addButton("Add &after",
                                        #QDialogButtonBox.ActionRole)
                                        QDialogButtonBox.ButtonRole.ActionRole)
        addb_btn = button_box.addButton("Add &before",
                                        #QDialogButtonBox.ActionRole)
                                        QDialogButtonBox.ButtonRole.ActionRole)
        replace_btn = button_box.addButton("&Replace",
                                           #QDialogButtonBox.ActionRole)
                                           QDialogButtonBox.ButtonRole.ActionRole)
        close_btn = button_box.addButton("&Cancel",
                                         #QDialogButtonBox.RejectRole)
                                         QDialogButtonBox.ButtonRole.RejectRole)

    #dialog.exec_()
    dialog.exec()

Default setting for 'in this field' and 'add after / before/ etc.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else suggested this feature before by looking through the issue reports.

Problem case

I use Batch Edit with Keyboard Maestro. Part of the automation would be if I could preset the 'in this field' (i.e. the default field) to a field I personally use called NB. Also, I would also greatly benefit if I could set the default button to "add before."

Solution

My solution would be to allow users to set up a default field (in my case NB) with a. fallback to whatever you prefer in case that field is not present. Same thing with the buttons.

More information

n/a

[Batch Note Editing] Disabling and removing buttons for "Add before" "Add after" and limiting actions to a specific field

Prerequisite checklist

  • In case of a bug: Have you tried restarting Anki?
  • Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
  • [x ] Did you check the add-on description on AnkiWeb for known issues?
  • Did you perform a cursory search through existing issue reports?

What is the problem/feature you would like to see fixed/implemented?

I am looking to make two edits to the code 1) make "replace" is the only option for edits, and 2) have this only apply to a specified field. Right now my basic cards have three fields: "front", "back", and "notes". I would like to only have the ability to replace the "notes". I am a novice, and tried editing the code myself with no success. Screenshot of the add on box with buttons that I would like to be disabled/removed are circled in red.

messages image 2658430279

How can we reproduce the problem?

N/A

Expected behavior: N/A

Actual behavior: N/A

Reproducible?: N/A

Version information

Anki

[ Please head to HelpAbout Anki and Paste the version string here, e.g.: ]

[ Version 2.0.47 ]
[ Qt 4.8.1 PyQt 4.9.1 ]

System

  • Operating system: [ Windows/macOS/Linux ]
  • Version: [ e.g. 10, High Sierra, Ubuntu 18.04 ]

[Batch Note Editing] Idea for new feature

I was thinking it would be nice if you could add a function to use your [batch note editing] add-on to also format text.

I have a bunch of cards and I want to change the color in a certain text field to be blue on some cards and red on others.

Your help is appreciated. The add-on is awesome!!

Thanks!!

可以就是给很多卡片同一个字段添加不同的内容吗

Checklist

Please replace the space inside the brackets with an x if the following items apply:

希望链接按钮那里可以支持excel导入,这样excel第一行的图片地址我就导入到第一张卡片的扩展字段,excel的第二行图片地址我就导入到当前deck第二张卡片的扩充字段,依次类推,实现,同一字段,导入不同内容,其他场景,音频文件也可以是这种思路,第一个音频文件地址放在excel第一行,第二个音频文件地址放在excel第二行,再就是文本也是,第一行文本在excel第一行,第二行文本在excel第二行,导入时候也是对应第一张卡,第二张卡的同一字段,方便很多,我表达能力不太好,希望作者大大有空可以看看,对插件做出升级,万分万分感谢您!

Problem case

Is your feature request related to a problem? If so, please describe it here. E.g.: "My workflow is such and such, and this and that would help."

Solution

Concisely describe the solution you would like

Concisely describe alternatives you've considered (if any)

More information

Additional context: Add any other context or screenshots about the feature request here.

Allow rich text/visual editor to Batch Editing dialog

Checklist

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else suggested this feature before by looking through the issue reports.

Problem case

I can't bold or format text in the Batch Edit dialog box.
image

Solution

  • Please allow rich text formatting or perhaps add a WYSIWYG or visual editor to this field

[Batch Note Editing] Idea request

This addon is great. I thought it would be neat to have a feature to selectively replace certain edits, rather than simply replacing the entire selected field

[Batch Note Editing] add support for copy text to other(s) field(s)

Which add-on is affected?

[Batch Note Editing] add support for copy text to other(s) field(s)
[ Please mention the add-on in the issue title as follows: "[Add-on name] My issue" ]

Prerequisite checklist

[ Please enter an [ x ] character to confirm the points below: ]

  • In case of a bug: Have you tried restarting Anki?
  • Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
  • Did you check the add-on description on AnkiWeb for known issues?
  • Did you perform a cursory search through existing issue reports?

What is the problem/feature you would like to see fixed/implemented?

I want to copy my text in filed A and paste it in filed B.
because by so doing I can generate a cloze from the vocabulary list which is already exist in anki. that is to say:
field of vocabulary: thanks
field of cloze: NAN
then
copy from field of vocabulary to field of cloze, it becomes:
field of vocabulary: thanks
field of cloze: thanks
then
then I will just use the function already exiting to add "{{c1::" before that and "}}" after it
field of vocabulary: thanks
field of cloze: {{c1::thanks}}

How can we reproduce the problem?

[ What were you doing when the problem occurred? ]

  1. [ First step ]
  2. [ Second step ]
  3. [ and so on... ]

Expected behavior: [ What you expected to happen ]

Actual behavior: [ What actually happened ]

Reproducible?: [ Can you reliably reproduce the issue by following the steps above? ]

Version information

Anki

[ Please head to HelpAbout Anki and Paste the version string here, e.g.: ]

[ Version 2.0.47 ]
[ Qt 4.8.1 PyQt 4.9.1 ]

System

  • Operating system: [ Windows/macOS/Linux ]
  • Version: [ e.g. 10, High Sierra, Ubuntu 18.04 ]

Bug with 2.1.20

An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.20 (47a1bf8b) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-02-20 09:57:48

Caught exception:
Traceback (most recent call last):
File "C:\Users\pacia\AppData\Roaming\Anki2\addons21\291119185\main.py", line 104, in
adda_btn.clicked.connect(lambda state, x="adda": self.onConfirm(x))
File "C:\Users\pacia\AppData\Roaming\Anki2\addons21\291119185\main.py", line 186, in onConfirm
batchEditNotes(browser, mode, nids, fld, text, isHtml=isHtml)
File "C:\Users\pacia\AppData\Roaming\Anki2\addons21\291119185\main.py", line 224, in batchEditNotes
mw.reset()
File "aqt\main.py", line 634, in reset
File "aqt\gui_hooks.py", line 933, in call
File "lib\site-packages\anki\hooks.py", line 475, in runHook
File "aqt\modelchooser.py", line 45, in onReset
File "aqt\modelchooser.py", line 91, in updateModels
RuntimeError: wrapped C/C++ object of type QPushButton has been deleted

Incorrect replacement of encoded images.

Problem description

Addons seems to not handle encoded images properly. When I tried to replace a fields contents with <img src="paste-85104776970243%20%281%29.jpg">, it was pasted as <img src="paste-85104776970243%2520%25281%2529.jpg">. Decoding the image ( <img src="paste-85104776970243 (1).jpg">) and then replacing worked fine.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

    
    Anki 2.1.25 (898801eb) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
    Platform: Windows 10
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2020-06-26 22:46:21
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['PomodoroTimer', 0, 'None', '']
    Advanced Browser ['874215009', 2020-04-23T03:45, 'None', '']
    Anki Zoom ['538879081', 2020-04-04T05:20, 'v1.1.3', '']
    AnkiConnect ['2055492159', 2020-06-25T22:17, 'None', '']
    AnkiWebView Inspector ['31746032', 2019-05-03T03:43, 'None', '']
    Audio Files ['1984823157', 2019-12-30T21:49, 'None', mod]
    Batch Download Pictures From Google Images ['561924305', 2020-06-20T13:13, 'None', '']
    Batch Editing ['291119185', 2019-06-03T02:47, 'None', '']
    Blitzkrieg II - Advanced Browser Sidebar ['564851917', 2020-06-03T13:23, 'None', '']
    Bold the cloze v218 ['213022609', 2019-11-27T23:15, 'None', '']
    Browser MaximizeHide TableEditor ['1819291495', 2020-01-20T19:29, 'None', '']
    Browser Search Box Quick Insert Tag Deck Notetype ['1052724801', 2020-04-27T17:02, 'None', '']
    Browser TableEditor side-by-side horizontal split ['831846358', 2020-01-13T22:40, 'None', '']
    Card browser List only one card per note ['797076357', 2020-03-28T04:01, 'None', mod]
    Change note type respect field and card names ['513858554', 2020-03-09T13:47, 'None', '']
    Dancing Baloney Allows changing wallpapers with live preview ['378638814', 2020-03-27T10:28, 'None', mod]
    Delete empty NEW cards tag other empty cards ['1402327111', 2020-03-15T18:12, 'None', '']
    Directly review without going through overview page ['1024346707', 2019-11-08T00:13, 'None', '']
    Edit Field During Review Cloze ['385888438', 2020-06-11T17:32, 'None', mod]
    Extended Tag AddEdit Dialog ['1135507717', 2020-06-06T20:35, 'None', mod]
    External Note Editor for the Browser ['1996266159', 2020-04-01T01:59, 'None', '']
    Frozen-field compatible with other add-on ['389392894', 2020-05-22T07:04, 'None', '']
    HUMBLE PIE distinct cards studied today statistic ['2133933791', 2020-03-24T23:05, 'None', '']
    High Yield Tags ['1918380616', 2020-05-28T08:54, 'None', '']
    Hint Hotkeys ['1844908621', 2017-08-29T23:53, 'None', '']
    HoochieBaby Queue Controller  Day-Lrn Q ['1847358755', 2020-04-25T08:16, 'None', '']
    HoochieMama Randomize Rev Queue ['1460733408', 2020-06-03T18:17, 'None', '']
    HoochiePapa Randomize New Queue ['1173108619', 2020-04-25T08:17, 'None', '']
    If a note has no more card warns instead of deleting it ['2018640062', 2019-07-27T00:39, 'None', '']
    Importing anki old anki 1 files ['175027074', 2020-05-04T20:18, 'None', '']
    Increase autosave frequency ['786971082', 2018-10-08T18:29, 'None', '']
    Japanese Example Sentences ['2413435972', 2019-02-22T09:30, 'None', mod]
    Japanese Support ['3918629684', 2019-07-12T11:54, 'None', mod]
    LPCG LyricsPoetry Cloze Generator ['2084557901', 2019-08-31T07:22, 'None', '']
    Learning Step and Review Interval Retention ['1949865265', 2020-01-12T08:45, 'None', '']
    Life Drain ['715575551', 2020-06-06T13:47, 'None', '']
    Load Balanced Scheduler ['208879074', 2018-11-18T18:23, 'None', '']
    Media Internalizer ['221033553', 2019-07-27T10:10, 'None', '']
    Modified reviewer context menu search with browser search ['930944997', 2019-10-17T06:58, 'None', '']
    More Overview Stats ['2116130837', 2020-02-17T21:01, 'None', '']
    Multi-column note editor ['3491767031', 2020-05-22T00:22, 'None', mod]
    Multi-field Batch Update ['1081479402', 2019-07-24T11:41, 'None', '']
    No Distractions Full Screen Clean review interface  TabletTouch support ['1049863218', 2020-04-26T06:47, 'v4.1.6', mod]
    Numeric Keypad Remapping  ease bugs fixed ['653807651', 2018-11-14T17:39, 'None', mod]
    OpenInExternalEditorRenameDuplicate for ImageAudioVideo ['1560623518', 2020-04-05T14:25, 'None', mod]
    Opening the same window multiple time ['354407385', 2020-05-16T05:59, 'None', '']
    Polar Connect - PDF and Incremental Reading with Anki Sync ['734898866', 2019-01-27T16:32, 'None', '']
    Pretzel Logic Retention Benchmarking ['1168065472', 2020-04-25T08:13, 'None', '']
    Progress Graphs and Stats for Learned and Matured Cards ['266436365', 2020-03-29T11:26, 'None', '']
    Quick Colour Changing ['2491935955', 2017-11-24T00:06, 'None', '']
    Quick tagging 21 ['304770511', 2020-02-11T11:17, 'None', mod]
    ReMemorize ['3235869971', 2020-03-23T02:53, 'None', mod]
    Removes Empty Note Types for 21 ['530953383', 2019-06-13T01:07, 'None', '']
    Review Hotmouse ['1928346827', 2020-05-26T13:22, 'None', '']
    Search in formatted text in any fields ['1126516755', 2020-03-11T02:36, 'None', '']
    Searching PDF Reading  Note-Taking in Add Dialog ['1781298089', 2020-06-24T03:04, 'None', mod]
    Show fields source html in editor ['1574324795', 2020-03-28T12:08, 'None', '']
    Special Fields ['1102281552', 2020-06-15T01:31, 'None', mod]
    Straight Reward ['957961234', 2020-05-27T19:42, 'None', mod]
    Syntax Highlighting Enhanced Fork ['1972239816', 2020-05-13T19:35, 'None', '']
    Transfer scheduling data from one card to another ['94685914', 2020-04-15T19:53, 'None', mod]
    add-on dialog searchfilter bar ['561945101', 2020-05-08T18:16, 'None', '']
    copy note contents to new Add window from Browser Reviewer Add EditCurrent ['759018284', 2019-10-16T22:37, 'None', '']
    link cardsnotes and preview them in extra window ['1423933177', 2020-06-15T19:34, 'None', mod]
    show new siblings in order  no same day spacingrandomization for new siblings ['268644742', 2020-02-18T23:41, 'None', '']
    
    ===IDs of active AnkiWeb add-ons===
    1024346707 1049863218 1052724801 1081479402 1102281552 1126516755 1135507717 1168065472 1173108619 1402327111 1423933177 1460733408 1560623518 1574324795 175027074 1781298089 1819291495 1844908621 1847358755 1918380616 1928346827 1949865265 1972239816 1984823157 1996266159 2018640062 2055492159 2084557901 208879074 2116130837 213022609 2133933791 221033553 2413435972 2491935955 266436365 268644742 291119185 304770511 31746032 3235869971 3491767031 354407385 378638814 385888438 389392894 3918629684 513858554 530953383 538879081 561924305 561945101 564851917 653807651 715575551 734898866 759018284 786971082 797076357 831846358 874215009 930944997 94685914 957961234
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
     Offline User Manual and Guides en es fr pl ru ['1761264009', 2018-05-30T03:10, 'None', '']
    3 add-ons merged quicker anki explain deletion explain database check ['777545149', 2020-01-20T19:30, 'None', '']
    A half-automatic Forvo Downloader ['1407979740', 2019-01-28T22:48, 'None', '']
    AMBOSS add-on ['0amboss_addon', 2020-04-03T20:36, 'None', '']
    Add Hyperlink ['318752047', 2020-06-18T18:22, 'None', '']
    Add Table ['1237621971', 2020-04-28T01:52, 'None', '']
    Add a tag to notes with missing media ['2027876532', 2019-05-11T03:22, 'None', '']
    Add card default copies current cards tag and deck in ['676957592', 2020-04-03T14:47, 'None', '']
    Add tags by shortcuts in Reviewer window one shortcut for one tag ['171767752', 2019-07-12T09:56, 'None', mod]
    Adding note and changing note type become quicker ['802285486', 2019-11-30T00:21, 'None', '']
    Additional Card Fields Fork for 21 ['744725736', 2020-04-16T15:00, 'None', '']
    Advanced Card Styles ['1625103157', 2019-09-05T17:20, 'None', '']
    Advanced Copy Fields ['1898445115', 2019-05-06T23:39, 'None', '']
    Advanced Review Bottom Bar ['1136455830', 2020-06-09T16:54, 'None', mod]
    Advanced note editor Multi-column Frozen fields LaTeXs result in editor ['2064123047', 2020-02-16T08:17, 'None', '']
    Alternative Dialog for ReMemorize Touch-Friendly ['2107899486', 2020-05-06T01:16, 'None', '']
    AnKindle Batch Vocab and Clippings ['1016931132', 2020-01-20T19:28, 'None', '']
    Anki Accountability 2 ['1607470853', 2019-11-15T20:28, 'None', '']
    Anki Excel Sync ['1832015432', 2020-05-25T13:13, 'None', '']
    Anki Killstreaks ['579111794', 2020-03-10T22:20, 'None', '']
    Anki Simulator ['817108664', 2020-05-25T14:05, 'None', '']
    Anki Welcome Screen ['314871488', 2019-12-03T18:26, 'None', '']
    AnkiDiscord - Discord integration for Anki ['1133851639', 2020-01-20T19:29, 'None', '']
    Answer Button Sounds ['679615590', 2020-02-20T20:10, 'None', '']
    Answer Visual Confirmation ['1208806023', 2020-06-11T10:21, 'None', mod]
    Answer visual  auditory  custom text reinforcement ['976516370', 2020-06-08T14:41, 'None', mod]
    Auto Markdown ['1030875226', 2019-06-25T12:15, 'None', '']
    AutoDefine - Automatically define vocabulary words with pronunciations and image ['2136497008', 2020-01-20T19:30, 'None', mod]
    Automatic Basic to Cloze ['2105427255', 2020-05-09T13:57, 'None', '']
    AwesomeTTS for Anki 21 updated ['427598962', 2019-01-18T21:48, 'None', '']
    Backup Key ['1790131139', 2019-03-02T13:00, 'None', '']
    Beautify Anki Material design  Deck Background and icon  ['1150874988', 2020-05-31T05:53, 'None', '']
    Browser Card Info Bar ['2140680811', 2020-05-04T17:13, 'None', mod]
    Bulk-Generate Japanese Vocab Frequency Ranking ['1612642956', 2019-03-11T20:24, 'None', mod]
    Cardistry Dynamically Adjust New Cards ['1535078906', 2020-02-16T12:58, 'None', '']
    Change subdecks configuration ['751420631', 2018-11-29T18:17, 'None', '']
    Chinese Prestudy ['882364911', 2020-01-20T19:30, 'None', '']
    Chinese Support Redux v0140 ['1128979221', 2020-06-01T03:43, 'None', mod]
    Cloze Hide All ['1709973686', 2020-06-24T11:05, 'None', '']
    Color Confirmation ['1084228676', 2020-03-14T17:13, 'None', '']
    Content Injector ['166455199', 2020-01-20T19:29, 'None', '']
    Control Audio Playback Pause Skip backwardsforwards Stop Audio ['1591259314', 2020-02-04T04:32, 'None', '']
    Convert Subdecks to Tag Hierarchy ['1172858842', 2020-02-24T03:03, 'None', '']
    Copy2Clipboard ['1525025114', 2018-12-02T08:58, 'None', '']
    Create Filtered Deck from the Browser ['861263371', 2019-12-14T11:53, 'None', '']
    Custom Background Image and Gear Icon ['1210908941', 2020-04-18T02:38, 'None', mod]
    Customize Keyboard Shortcuts ['24411424', 2020-06-26T09:46, 'None', '']
    Customize Sidebar ['1988760596', 2020-01-20T19:29, 'None', '']
    Daijirin Dictionary Scraper ['311119199', 2020-03-22T23:05, 'None', '']
    Deadline2 ['723639202', 2020-05-06T00:39, 'None', mod]
    Deck Stats ['1421528223', 2018-02-27T09:57, 'None', '']
    Deck name in title 21 ['699175524', 2020-01-20T19:30, 'None', '']
    Dict2Anki ['1284759083', 2020-03-05T12:06, 'None', '']
    Doublethink Disables Normalization ['1654528592', 2020-04-24T08:26, 'None', '']
    DrawingPad ['370778248', 2020-01-20T19:30, 'None', '']
    Duplicate Selected Notes ['2126361512', 2018-12-07T17:13, 'None', '']
    Ease Factor Histogram ['494944895', 2019-05-03T02:38, 'None', '']
    Edit Field During Review ['1020366288', 2020-01-29T21:33, 'None', '']
    Edit new note type without needing a full sync ['1988880085', 2019-11-30T00:20, 'None', '']
    Empty cards returns more usable informations ['25425599', 2019-03-31T23:04, 'None', '']
    Enhance main window ['877182321', 2020-05-03T21:58, 'None', mod]
    Enhanced cloze 21 ['2062736101', 2019-10-19T10:55, 'None', '']
    Explain deletions ['12287769', 2020-01-20T19:29, 'None', '']
    Export cards selected in the Browser ['1983204951', 2020-02-03T21:31, 'None', '']
    Export deck to HTML ['1897277426', 2020-03-09T07:00, 'None', '']
    Extended Card Stats During Review ['1008566916', 2017-09-28T19:48, 'None', '']
    FULLER SCREEN Hide Toolbar in Reviewer ['742922254', 2019-06-01T23:44, 'None', '']
    FULLEST SCREEN hide all toolbars in reviewer ['1999609504', 2020-06-10T01:31, 'None', '']
    Fanfare ['2073603704', 2020-04-01T12:21, 'None', mod]
    Fast cards reposition ['544982740', 2018-07-14T10:32, 'None', '']
    Fastbar another toolbar for Anki 21 beta ['1955978390', 2017-09-28T20:38, 'None', '']
    Field History ['1247884413', 2019-01-09T00:31, 'None', '']
    Fill the blanks - Multiple typecloze support ['1933645497', 2020-03-14T06:20, 'None', '']
    Forivy add forvo sounds ['327282518', 2020-05-16T13:57, 'None', mod]
    Free Weekend - or Any Other Day ['742185195', 2020-04-10T16:57, 'None', '']
    Full Screen Toggle ['1612375712', 2018-08-25T09:39, 'None', '']
    Full Screen ['465032680', 2020-02-22T09:53, 'None', '']
    GODMODE faster shortcuts and cloze switching ['1508677152', 2020-06-10T00:15, 'None', '']
    GoldenDict Add-On ['1073614462', 2019-01-12T00:32, 'None', '']
    HTML Editor Tweaks v02 ['410936778', 2020-03-22T18:58, 'None', '']
    Hide UI ['406504899', 2020-02-22T09:51, 'None', '']
    Highlight Search Results in the Browser ['225180905', 2018-02-27T09:56, 'None', '']
    Hitmarkers ['1776869150', 2020-04-01T03:04, 'None', '']
    Holdem Cardfield Preserves add card history ['363320830', 2019-05-21T17:14, 'None', '']
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-28T07:21, 'None', '']
    Image Search ['885589449', 2018-11-02T22:35, 'None', '']
    ImageResizer ['1214357311', 2018-11-02T22:24, 'None', '']
    Improve speed of change of note type ['115825506', 2019-03-05T21:37, 'None', '']
    Improved Quizlet to Anki 21 Importer ['538351043', 2020-05-18T19:45, 'None', '']
    Incremental Reading 5 - Make Incremental Reading Great Again ['1782290297', 2018-09-13T22:03, 'None', '']
    Incremental Reading ['1081195335', 2018-02-27T09:54, 'None', '']
    Japanese Definition Scraper from weblio Dictionary ['2055037404', 2019-12-17T14:27, 'None', mod]
    Japanese Pitch Accent Notes ['625243622', 2019-01-10T15:13, 'None', '']
    Japanese Pitch Accent ['148002038', 2019-09-23T17:51, 'None', '']
    Kanji Keyword Overlay anki 21 ['1582755932', 2020-05-18T00:52, 'None', mod]
    Kitten Rewards Gamification ['1627107763', 2018-11-10T14:20, 'None', '']
    Knockout Deck Subset Learning ['899747926', 2019-02-24T02:59, 'None', '']
    Korean Support ['1336389630', 2020-04-14T20:22, 'None', '']
    Large and Colorful Buttons ['1829090218', 2020-01-20T19:29, 'None', '']
    Leaderboard ['41708974', 2020-06-22T22:27, 'None', mod]
    Localize Media ['1293255374', 2019-07-28T09:01, 'None', '']
    MIA Dictionary ['1655992655', 2020-04-07T02:48, 'None', mod]
    MIA Japanese ['278530045', 2020-03-05T04:19, 'None', mod]
    Markdown Support - With Batch n Preview ['1259478414', 2020-04-29T02:43, 'None', '']
    Maximum image height and width in card editor ['229181581', 2020-02-20T13:10, 'None', '']
    Media Import ['1531997860', 2018-07-25T08:44, 'None', '']
    Mental Pause No bonus for being late ['1707633456', 2020-04-17T12:05, 'None', '']
    Mini Format Pack ['295889520', 2018-12-08T22:30, 'None', '']
    More Decks Stats and Time Left ['1556734708', 2020-04-01T01:19, 'None', '']
    More Overview Stats 21 ['738807903', 2019-01-09T13:28, 'None', '']
    Mouse Wheel Review ['633119072', 2019-05-17T21:31, 'None', '']
    Multiple Choice for Anki ['1566095810', 2020-04-10T10:50, 'None', '']
    Night Mode ['1496166067', 2020-01-30T02:27, 'None', '']
    Paint It Black fix white flash on stats page ['1931658106', 2020-02-06T10:57, 'None', '']
    Papercards - export your flashcards to paper ['2042118948', 2019-09-10T18:45, 'None', '']
    Pinyin on top of Hanzi ['417709332', 2018-05-30T03:09, 'None', '']
    Pokemanki ['633922407', 2020-03-04T08:10, 'None', '']
    Pop-up Wikipedia Beta ['395343016', 2020-01-09T12:40, 'None', '']
    Postpone cards review ['1152543397', 2020-05-29T08:40, 'None', '']
    Progress Bar ['2091361802', 2017-08-30T00:00, 'None', '']
    Puppy Reinforcement ['1722658993', 2020-03-03T01:23, 'None', mod]
    Push Paradox Sibling Cardistry ['1797395052', 2020-04-04T09:40, 'None', '']
    Quick note and deck buttons Fork for 21 ['1331140127', 2020-05-17T03:52, 'None', mod]
    Quizlet to Anki 21 Importer with audio support ['1362209126', 2020-05-24T00:14, 'None', '']
    Rebuild All  Empty All for Anki 21 ['1810938259', 2019-07-27T10:09, 'None', '']
    Redesign ['1914733489', 2020-03-01T03:46, 'None', '']
    Remaining time for Anki 21 ['1508357010', 2020-05-04T05:53, 'None', mod]
    Replay audio from editor ['1154817210', 2019-07-12T16:46, 'None', '']
    Replay buttons on card ['498789867', 2017-11-20T22:21, 'None', '']
    Reset Custom Study Limit Increases ['738867649', 2019-05-30T04:44, 'None', '']
    Resize images in editor ['1103084694', 2020-05-19T00:29, 'None', mod]
    Review Heatmap ['review_heatmap', 2020-04-30T18:23, 'None', '']
    Reviewer Context Menu Search ['359618071', 2019-02-13T23:27, 'None', '']
    SMART SPACEBAR automatic ease scoring ['490202012', 2019-08-08T07:36, 'None', '']
    Sanseido Definitions Python3 Anki21 ['1974048692', 2019-05-28T14:48, 'None', '']
    Search EDICT ['171148684', 2020-01-20T19:29, 'None', '']
    Search and Replace Tags ['138501288', 2017-09-28T17:32, 'None', '']
    Search from Editor for Anki 21 ['227080119', 2019-02-19T22:18, 'None', '']
    Separate Learn and Relearn in the Answer Buttons graph 21 ['403491806', 2019-11-09T10:28, 'None', '']
    SerenityNow ['254576101', 2018-11-27T22:27, 'None', '']
    Session Manager ['425166574', 2018-12-08T22:39, 'None', '']
    Show duplicates ['865767531', 2020-02-03T12:41, 'None', '']
    Showing time in browser ['1243668133', 2020-03-11T03:13, 'None', '']
    Simple Timer and Stopwatch for Anki 21 ['1423272642', 2018-01-30T15:27, 'None', '']
    Simplified Review GUI ['1590626921', 2019-03-25T14:35, 'None', '']
    Slackers Delight PostponeDefer Button ['880824023', 2020-02-27T00:09, 'None', '']
    Small Potatoes Show learning step count in days ['75718778', 2020-04-02T23:53, 'None', '']
    Speed Focus Mode ['speed_focus_mode', 2019-06-29T03:35, 'None', '']
    Speed Focus Mode auto-alert auto-reveal auto-fail ['1046608507', 2019-06-02T14:11, 'None', '']
    Statistics for Note Types Card Types and Tags ['16703369', 2019-12-17T14:27, 'None', '']
    Stats Overview Pie Graph with Distinct Learning and-or Relearning Sections ['1828603731', 2019-05-27T06:28, 'None', '']
    Stepwise Map Retrieval ['61346236', 2020-01-20T19:30, 'None', '']
    Study Logger ['1919929679', 2020-04-02T08:54, 'None', '']
    Syllabus - Anki Statistics and Export by Tag and Deck ['668156440', 2020-01-20T19:30, 'None', mod]
    Symbols As You Type ['2040501954', 2020-04-30T19:32, 'None', '']
    Symbols ['1461102936', 2019-04-19T20:15, 'None', mod]
    Syntax Highlighting for Code ['1463041493', 2018-12-08T22:30, 'None', '']
    Tag Entry Enhancements ['1348430474', 2017-09-28T17:34, 'None', '']
    TagSelectorV2 ['1022577188', 2018-09-22T13:18, 'None', '']
    The KING of Button Add-ons ['374005964', 2020-04-18T03:33, 'None', mod]
    Throughput Historical ['485345973', 2019-08-18T07:00, 'None', '']
    Throughput Monitor ['826650564', 2019-12-14T10:26, 'None', '']
    Toggle Tags via ReviewerEditorBrowser Context Menu ['2088508994', 2020-01-20T19:30, 'None', '']
    Touch Wood Show New Cards Left Hint ['1498273991', 2020-04-04T09:37, 'None', '']
    Update add-ons when collection is synchronized ['1847544206', 2020-01-22T20:45, 'None', '']
    Visual Feedback Remake Gamification ['1990957166', 2018-11-14T17:40, 'None', '']
    Vocabulous ['602485415', 2017-11-16T17:34, 'None', '']
    Web Browser - Search terms Import texts and images automatically ['864545277', 2020-04-17T17:22, 'None', mod]
    Windows Text Rendering Fix ['94394764', 2018-11-02T22:23, 'None', '']
    Word Query ['775418273', 2018-12-03T13:06, 'None', '']
    Word autocomplete for Anki 21 ['131336778', 2020-06-03T14:13, 'None', '']
    Yomisama JapaneseChinese ['907186589', 2020-05-12T13:52, 'None', '']
    Ze Add note id ['886709118', 2019-05-23T22:07, 'None', '']
    Zoom 21 ['1846592880', 2020-01-12T23:00, 'None', '']
    batch create filtered decks ['1515706653', 2020-03-03T23:32, 'None', '']
    deck and card info sidebar during review ['673114053', 2020-06-23T15:46, 'None', mod]
    extended editor for templates with save and diff and html source of fields ['1043915942', 2020-04-28T03:04, 'None', '']
    load balancer ['1417170896', 2020-02-18T01:02, 'None', '']
    rebuild allempty all filtered decks enhanced fork ['104518886', 2020-05-27T14:23, 'None', '']
    remove linebreaks  do word wrap fork for 21 ['2028179508', 2020-05-11T17:58, 'None', '']
    zzz Hide Due Count ['2107802819', 2020-02-19T14:03, 'None', '']

Please fill in details about your operating system (Windows/macOS/Linux, which version):

  • OS: Windows 10
  • version: 2004

Paperclip icon missing to indicate image attachment

Running Anki 2.1.64 Qt6, tested with no other add-ons as well. On MacOS 13.4 (newest OS).

The paperclip icon to indicate that images need to be attached is missing as seen below. This issue still persists on nightmode.

image

An option so that there are no new lines

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else suggested this feature before by looking through the issue reports.

Problem case

Is your feature request related to a problem? If so, please describe it here. E.g.: "My workflow is such and such, and this and that would help."

I almost never have the need for new line when I prepend or append text. Which means I've to manually edit your addon code to ensure the newline is not added. I'd love if you could have an option, potentially in the file config if there is no room in the UI, to disable the new line.

Images change from jpg to png after batch-editing

When I use batch-editing to add images to a number of cards it turns the file from "jpg" to "png", thus increasing the file size. In my Anki preferences the "Paste clipboard images as PNG" is unchecked. I didn't find another addon that I have that may conflict or cause this.
This however can be circumvented by placing the HTML of the image. My current Anki Version ⁨2.1.49

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • [ x] I've restarted Anki to see if it helps
  • [x ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [ x] I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • [x ] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):


If you are using Anki 2.0

Please open Anki, go to Help → About, find the two lines starting with Version: and Qt, and copy-paste them between the backticks below:


Please fill in details about your operating system (Windows/macOS/Linux, which version):

Windows 10, 64b

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:
image

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

Idea for new feature

I don't know if it would be possible, but it would be very helpful to have a batch editing feature that would edit tags on cards. I always start making cards on a new topic, and then forget to change the tag, and then I have to go back and edit all of them individually.

Ability to choose multiple images simultaneously

#### Problem case

I have a folder with 20-30 images and currently the "Batch-editing" add-on only allows to "choose" one image at a time.

#### Solution

Would it be possible to allow choosing multiple images simultaneously ?

This feature would be useful for obtaining a class in Powerpoint/PDF > Export to Image > Choose all the images in a folder. In this way, it would be time-efficient to add Lecture's slides to Anki.

Alternatively, would it be possible to allow "Drag and drop" feature with multiple images to the Add-on?

#### More information
explorer_FdeuHUxJFf
adadad

Batch note editing- 2.1 clipboard support not working

Batch note editing. Anki 2.1.9.

I can't seem to use the paste from clipboard feature on 2.1. I get this error:
"Debug info:
Anki 2.1.9 (ae67c976) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.14.3
Flags: frz=True ao=True sv=2
Add-ons possibly involved: Batch Note Editing

Caught exception:
File "/Users/NAME/Library/Application Support/Anki2/addons21/291119185/browser_batch_edit.py", line 101, in _insertMedia
media_file = self._getClip()
File "/Users/NAME/Library/Application Support/Anki2/addons21/291119185/browser_batch_edit.py", line 135, in _getClip
return unicode(image_path)
<class 'NameError'>: name 'unicode' is not defined"

However, once I click the paperclip icon again, i'm able to search my folders for my file.

latex compatibility

i added a image to my latex cards, which was a png, and the cards no longer display the latex on them.

Checklist

  • [ x] I've restarted Anki to see if it helps
  • [x ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [ x] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • [x ] My issue disappears when I hold shift while starting Anki.
  • [ x] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:
Version 2.1.12 (eef86bf3)

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

Anki 2.1.12 (eef86bf3) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=False sv=1

Add-ons:

Edit Field During Review
ImageResizer
Insert Randomized Lists multiple choice
Image Occlusion Enhanced Alpha for Anki 21
load balancer
Night Mode
Pop-up Dictionary beta
Hierarchical Tags Addon 20 21
More Overview Stats
Customize Keyboard Shortcuts
Button Colours Good Again
Batch Editing
Reset Card Scheduling
ReMemorize Rescheduler with sibling and logging v114
Frozen Fields
True Retention
Compile latex during addedition and warn in case of error
Advanced Browser
Edit LaTeX build process

If you are using Anki 2.0

Please open Anki, go to Help → About, find the two lines starting with Version: and Qt, and copy-paste them between the backticks below:


Please fill in details about your operating system (Windows/macOS/Linux, which version):

  • OS:
  • version:

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

Conver to Radians:  
Error executing latex.
Generated file: C:\Users\gilga\AppData\Local\Temp\anki_temp\tmp.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
(./tmp.tex
LaTeX2e <2018-12-01>
(c:/texlive/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
(c:/texlive/2019/texmf-dist/tex/latex/base/size12.clo))
(c:/texlive/2019/texmf-dist/tex/latex/base/inputenc.sty)
(c:/texlive/2019/texmf-dist/tex/latex/amsfonts/amssymb.sty
(c:/texlive/2019/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(c:/texlive/2019/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/texlive/2019/texmf-dist/tex/latex/amsmath/amstext.sty
(c:/texlive/2019/texmf-dist/tex/latex/amsmath/amsgen.sty))
(c:/texlive/2019/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(c:/texlive/2019/texmf-dist/tex/latex/amsmath/amsopn.sty)) (./tmp.aux)
(c:/texlive/2019/texmf-dist/tex/latex/amsfonts/umsa.fd)
(c:/texlive/2019/texmf-dist/tex/latex/amsfonts/umsb.fd)
! Missing $ inserted.
<inserted text> 
                $
l.10 
     
! Missing $ inserted.
<inserted text> 
                $
l.12 \end{document}
                   
[1] (./tmp.aux) )
(see the transcript file for additional information)
Output written on tmp.dvi (1 page, 316 bytes).
Transcript written on tmp.log.
rad 
or 
 rad

Please add ability to insert number sequence into fields

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else suggested this feature before by looking through the issue reports.

Problem case

Many Anki users (including myself) need to change the order in which cards are listed by creation date, either to group them thematically within a deck or to control the order in which they are printed using Add-ons such as your wonderful PDF Glossary Exporter.
To change the order in which cards are listed by creation date one can simply add a sequential number to the cards in its own field (i.e. first card has number 1, second card has number 2, etc.), sort by this number field and then change the numbers (e.g. if card number 4 should be placed after number 2, change number 4 into 2.1, etc.) to bring the cards into the correct order. Finally the Change Card Creation times add-on by Daniel Elmes can be applied to the cards in their new order https://ankiweb.net/shared/info/217650262, which effectively changes the order in which cards are listed when sorted by creation date.
The Problem is that entering the number sequence into the fields is laborious if done by hand, and could be done much more quickly if automated.

Solution

The solution is to add an additional function to your add-on, that inserts a progressive number sequence across the cards of a deck into a particular field. It already has the function to clear those numbers when the reordering is done, by simply replacing the content of fields with empty.

2.1.45 Beta 5 won't work

image
Get this error when I try to replace text with nothing. I disabled all other add ons and issue still persisted,

[Batch Note Editing] Support regex

Regex support will allow to remove/replace only specific strings and add strings anywhere within the fields. In my case, it will delete the need for exporting, editing and reimporting the cards.

Undo doesn't seem to work

Problem description

Undo doesn't seem to work. Tested with custom card template as well as the Basic template.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Anki 2.1.56

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

    Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 6.4.0 PyQt 6.4.0
    Platform: Windows-10-10.0.22621
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2023-01-19

Please fill in details about your operating system (Windows/macOS/Linux, which version):

  • OS: Windows
  • version: 11

{Batch Note Editing] Unable to attach images from clipboard in Anki 2.1

Which add-on is affected?

[ Please mention the add-on in the issue title as follows: "[Add-on name] My issue" ]

Prerequisite checklist

[ Please enter an [ x ] character to confirm the points below: ]

  • [x ] In case of a bug: Have you tried restarting Anki?
  • [ x] Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
  • [x ] Did you check the add-on description on AnkiWeb for known issues?
  • [x ] Did you perform a cursory search through existing issue reports?

What is the problem/feature you would like to see fixed/implemented?

In batch note edit on anki 2.1.4 (stable release), unable to insert image from clipboard as addition to multiple cards (previously working on anki 2.0). Debug info/error message:

Debug info:
Anki 2.1.4 Python 3.6.1 Qt 5.9.2 PyQt 5.9
Platform: Windows 10
Flags: frz=True ao=True sv=1

Caught exception:
File "C:\Users\setup\AppData\Roaming\Anki2\addons21\291119185\browser_batch_edit.py", line 101, in _insertMedia
media_file = self._getClip()
File "C:\Users\setup\AppData\Roaming\Anki2\addons21\291119185\browser_batch_edit.py", line 135, in _getClip
return unicode(image_path)
<class 'NameError'>: name 'unicode' is not defined

How can we reproduce the problem?

Image capture to clipboard using either snipping tool or onenote screen clipping or copy image directly from other source and then click attach button on batch edit interface.

Expected behavior: Insert clipboard image to batch edit "content to add or replace with"

Actual behavior: Error message above.

Reproducible?: Yes, restarts of anki and pc, enable/disable/reinstall addon, multiple clipboard attempts

Version information

Version 2.1.4
Qt 5.9.2 PyQt 5.9
Windows 10- 64bit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.