Replies: 1 comment
-
See readme |
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.
-
How to solve the problem:
The script is
`const window = require("window");
const name = "test"
return window.alert("标签 '" + name + "' 已成功添加到选中的条目中。");`
and debug information is
`(4)(+0000000): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [2566, 'https://www.scopus.com/inward/record.uri?eid=2-s2.0-85139730694&doi=10.1155%2f2022%2f7410708&partnerID=40&md5=7f98000cbe19edc27c1ddad1fa7a5772']
(4)(+0004964): Beginning DB transaction Z9BgWP63
(4)(+0000010): Committed DB transaction Z9BgWP63
(3)(+0000000): [Actions and Tags for Zotero] applyAction {"event":0,"operation":4,"data":"const window = require("window");\r\nconst name = "test"\r\n\r\nwindow.alert("标签 '" + name + "' 已成功添加到选中的条目中。");","shortcut":"","enabled":true,"menu":"测试","name":"","showInMenu":{"item":true,"collection":true,"tools":true,"reader":true,"readerAnnotation":true}} {"itemIDs":[2566],"triggerType":"menu"}
(4)(+0001829): Beginning DB transaction gd95mcfa
(4)(+0000008): Item 2566 has not changed
(4)(+0000000): Committed DB transaction gd95mcfa
(3)(+0000000): [Actions and Tags for Zotero] applyAction {"event":0,"operation":4,"data":"const window = require("window");\r\nconst name = "test"\r\n\r\nwindow.alert("标签 '" + name + "' 已成功添加到选中的条目中。");","shortcut":"","enabled":true,"menu":"测试","name":"","showInMenu":{"item":true,"collection":true,"tools":true,"reader":true,"readerAnnotation":true}} {"itemID":2566,"triggerType":"menu"}`
Beta Was this translation helpful? Give feedback.
All reactions