[Share] Add Tag shortcut: working in Zotero 8 #550
powestermark
started this conversation in
Action Scripts
Replies: 3 comments 1 reply
-
|
Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Works great! Quick note: Operation should be set to Script, not "Add Tags". Thankss |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Thanks @powestermark ! May I ask you more details about your NOTE 2. I mean, I'd like to have installed Zutilo too. What kind of issue may happen? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Updated 2026-02-02: robuster triggering in library view
This action is useful for binding a keyboard shortcut to add a tag to the currently selected item, or the currently viewed pdf file.
This script solves Discussion #390, where my previous script only works in Zotero 7.
The present script uses Zotero's built-in function newTag(), and might be more stable than the previous approach which simulated a click on the Add Tag button.
NOTE 1: This script was created through pure vibe coding using ChatGPT 5.2. I had the script created since I am an ingrained keyboard shortcut person, and in my tag heavy workflows, Add Tag is the most important shortcut. Unfortunately, keyboard shortcuts are neglected in Zotero, but I prefer acting to complaining. I am unlikely to be able to fix bugs, as I lack any deep understanding of the Zotero DOM or internal workings. A Zotero expert should ultimately improve this code.
NOTE 2: There appears to be potential cross-talk with the Zutilo plugin, so if you experience problems and have Zutilo installed, try first to uninstall the latter, or you must attempt a fix yourself.
I hope the script may be useful for all us tagging enthusiasts!
Event
None
Operation
Script
Data
Anything else
No response
Beta Was this translation helpful? Give feedback.
All reactions