Zutilo keyboard shortcuts and latest beta (5.0.66-beta.5+197d609f8) [FIXED]
Hello all,
Is anybody else using Zutilo keyboard shortcuts in the latest beta (5.0.66-beta.5+197d609f8)?
Keyboard shortcuts aren't working for me in that configuration.
Bjoern
Is anybody else using Zutilo keyboard shortcuts in the latest beta (5.0.66-beta.5+197d609f8)?
Keyboard shortcuts aren't working for me in that configuration.
Bjoern
After I specify a Zutilo shortcut key combination, that combination doesn't flag any conflicts but still doesn't work. And it continues not to work even after I restart Zotero, although the action for that key combination does work when performed from the Zotero menu.
Thank you so much for your thoughts on this issue.
Please explain what you did providing more details. Are you a new Zutilo user? There are some open Zutilo issues, see for example https://github.com/wshanks/Zutilo/issues/122. I think there're also Zutilo issues that might be specific to macOS. If you just have general usage questions, we could try to clarify them here. You could also consider reporting Zutilo issues on GitHub.
Yes, I have just come across Zutilo recently. But when I'm on the shortcuts tab of the Zutilo preferences dialog box, I can seemingly specify a shortcut for anything (e.g., Ctrl+Alt+Shift+whatever). But after I apply the shortcut and even restart Zotero, that shortcut doesn't do anything.
The issues at the link you mentioned don't seem to describe this kind of situation.
Any thoughts about correcting this issue working would be most helpful.
Thank you so much!
Go to "Tools" -> "Developer" -> "Run JavaScript", and paste in and run this code:
// Part 1: Show current Zutilo keyboard shortcuts
var msg = `Current Zutilo keyboard shortcuts:\n\n`;
var keyset = document.getElementById("zutilo-keyset");
var keyLabels = [];
var keyValues = [];
for (let child of keyset.children) {
if (child.getAttribute("key")) {
let label = child.id.replace(`zutilo-key-`,'');
keyLabels.push(label);
let modifiers = child.getAttribute("modifiers");
let key = child.getAttribute("key");
let keycode = child.getAttribute("keycode");
keycode = (keycode === "") ? null : keycode;
let value = {"modifiers":modifiers,"key":key,"keycode":keycode};
value = JSON.stringify(value);
keyValues.push(value);
let name = Zutilo.getString(`zutilo.shortcuts.name.` + label);
msg += `Name: "${name}"\nLabel: ${label}\nValue: ${value}\n\n`;
}
}
// Part 2: Try to set a new Zutilo shortcut
var keyLabel = 'toggleZoteroCollectionsPane';
msg += `\n\nNew shortcut for '${keyLabel}':\n\n`;
var oldValue = Zutilo.Prefs.get(`shortcut.` + keyLabel);
var newValue = `{"modifiers":"control","key":"L","keycode":null}`;
var index = keyValues.indexOf(newValue);
if (index < 0) {
Zutilo.Prefs.set(`shortcut.` + keyLabel, newValue);
msg += `old value:\n${oldValue}\n\nnew value:\n${newValue}\n\n`;
} else {
msg += `Value: ${newValue}\nis used for '${keyLabels[index]}'!\n\n`;
msg += `Cannot use this as a new value for '${keyLabel}'!\n\n`;
}
Then check if "Ctrl+L" toggles Zotero's collections pane.
(You don't need to restart Zotero after installing Zutilo or when changing a Zutilo shortcut.)