- Got Zotero? Good.
- Install MozLab.
- Restart Firefox.
- Start MozRepl.
- Open a terminal.
- telnet localhost 4242
- Get the Zotero object:
var zotero = Components.classes["@zotero.org/Zotero;1"] .getService(Components.interfaces.nsISupports)
.wrappedJSObject;...but all on one line, no spaces before the dots. Sorry, my formatting plugin went b0nkr5.
- Surprise your friends, amuse your enemies, bore the big-Zotero-collectionists:
repl> for each (item in zotero.Items.getAll()) {
....> alert(item.getField("title"));
....> }
Pretty nifty, eh?
Recent comments
6 days 8 hours ago
3 weeks 3 days ago
5 weeks 6 days ago
6 weeks 29 min ago
6 weeks 2 days ago
6 weeks 2 days ago
7 weeks 3 hours ago
7 weeks 7 hours ago
7 weeks 10 hours ago
7 weeks 13 hours ago