41 1
Sign in to rate

Quick note and deck buttons

<10kB. Updated 2016-11-29. Only supports Anki 2.0.x.
The author has shared 19 other item(s).

Description

Add buttons to the add card dialog to quickly select your favorite note type/model or deck. You will have to set up these models and decks is the source file. Use the “Tools/Add-ons/Quick note and deck buttons/Edit...” menu item. Follow the instructions in the source file and the manual . If you don’t you will get an error like “Quick_note_and_deck_buttons, line 130, ... 'NoneType' object has no attribute '__getitem__'.” That is this add-ons way of saying it couldn’t find the model or deck. This add-on was inspired by the “Quick change Note buttons” add-on. The code is based on that version, by Steve AW.

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

This add-on previously supported Anki 2.0. You can download the last version supporting 2.0 here. As Anki 2.0 has been discontinued, no support is available for this version.

All Anki 2.1.x Add-Ons

Reviews

on 1571255633
essential add-on. For 2.1 there is an updated version at https://ankiweb.net/shared/info/1331140127
on 1554637986
I love this and it really helps me quickly select my decks and note types. I use Anki 2.0.52 and it doesn't seem to play nice with my card types though so I can't access that aspect of it whatsoever. (Neither hotkeys or buttons work with note types) However, it definitely works as intended with changing decks so I'm still a happy user!
on 1538797689
Very useful add on! But could you please make it available for anki 2.1? Thanks :)
on 1535181854
Thank you
on 1529234882
I just want to report bug and thank the authors for their contribution!
I am using the version 1.1 on Windows 10.
I want to add a quick access button to the edit screen. But after I edited the add-on, it couldn't work.
I read the error message but still can't figure out how to fix the problme because coding is really beyond me.
Could someone hlep me, please? Thanks!!!

The error message is as follows:

Traceback (most recent call last):
File "aqt\main.py", line 706, in onAddCard
File "aqt\__init__.py", line 61, in open

File "aqt\addcards.py", line 25, in __init__
File "anki\hooks.py", line 59, in repl
File "aqt\addcards.py", line 46, in setupChoosers
File "aqt\deckchooser.py", line 19, in __init__
File "anki\hooks.py", line 56, in repl
File "C:\Users\linda\AppData\Roaming\Anki2\addons\Quick_note_and_deck_buttons.py", line 156, in <lambda>
lambda dc: setup_buttons(dc, deck_buttons, "deck", change_deck_to),
File "C:\Users\linda\AppData\Roaming\Anki2\addons\Quick_note_and_deck_buttons.py", line 108, in setup_buttons
b = QPushButton(button_item["label"])
KeyError: 'label'
on 1526428800
Excellent addons!
on 1526169600
一个插件发生了错误。
请把它报告在插件的论坛上:
https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Anki2\addons\Quick_note_and_deck_buttons.py", line 113, in <lambda>
l = lambda s=chooser, nn=button_item["name"]: do_function(s, nn)
File "C:\Users\Administrator\AppData\Roaming\Anki2\addons\Quick_note_and_deck_buttons.py", line 132, in change_model_to
chooser.deck.conf['curModel'] = m['id']
TypeError: 'NoneType' object has no attribute '__getitem__'
on 1521763200
perfect, thanks!

makes it easy to select note type (and deck) if you have a lot of note types (e.g. from imported decks)
on 1520121600
Not really all that necessary.
on 1519084800
Keyboard shortcuts make everything easier!
on 1503100800
Indispensable

Definitely in my top-5 most-used Anki add-ons.

The source file is very well-documented, but if you're completely unfamiliar with editing Anki add-ons you might want to check out my video tutorial where I cover how to configure this add-on: https://www.youtube.com/watch?v=aG2Vf-wZLu8
on 1491523200
Love It!

And it has shortcuts too! Isn't that sweet?

Renerio of www.noone-special.com
on 1478476800
Great add-on !

Thank you so much for this, this is exactly what I was looking for for weeks !
on 1475539200
Makes adding material a breeze

Quite frankly, the original Type and Deck pickers suck. You need to:

1) Motion mouse towards picker button,
2) click button,
3) motion mouse towards picker dialogue,
4) pick your choice
5) motion mouse click OK,

In terms of ergonomics, that's a very expensive implementation. Using layman's terms, it's just outright clumsy.

This neat little add-on reduces the above 5 steps to:

1) Motion mouse towards button,
2) Click button. Done!

It's 5 stars from me :)
on 1474329600
Easy and simple to set up

Coming from a non-programmer I looked at the Python stuff and I backed away. Then I installed it and had a closer look and its ridiculously easy to set up because the dev put a bunch of examples in the code.

Oh and it works great!
on 1419811200
Great add-on, but I'm taking off a star because it is not compatible with the last version's settings. Otherwise, works well!
on 1406592000
Very efficient!

You can define you own buttons, complete with labels and shortcuts.
Switching the note type retains the input for the fields.
on 1406332800
Very helpful.

I was never really made use of the advantages of many Templates, since it was too annoying to switch (or forget to switch) the template. Now it is way easier!

THX so much :-)
on 1392422400
Easy to customize and use

Anki is fantastic but sometimes violates the "minimal clicks" principle of GUI navigation. It takes far too many clicks to do something frequently necessary like switching card types. Since Anki is all about efficiently memorizing, it makes sense to have an efficient method of entering notes as well.

I have a few frequently used custom templates. I added them as 4 buttons at the top of the add window without difficulty. Perfect add-on!
on 1380412800
Very efficient

Works great here. Thanks v much for sharing this! – Also, note that buttons may be accessed by shortcut. People on Mac should note that "Ctrl" corresponds not to the 'control' but to the 'command' key. One may also use further keys, as in "Shift+Ctrl+0".