Search found 59 matches

by cboulanger
Fri Apr 30, 2021 2:23 am
Forum: Looking for AppleScripts…
Topic: NodeJS library to sync Zotero data with bookends using JXA
Replies: 6
Views: 10504

Re: NodeJS library to sync Zotero data with bookends using JXA

Thanks, Jon, I will! It completely crashes and afterwards, all the groups programmatically created with libraryWindow.groupItems.push(bookends.GroupItem({name:"new group's name"})); are gone. They can be retrieved by "Flatten Groups List Hierarchy", but are then in some previous ...
by cboulanger
Thu Apr 29, 2021 11:47 am
Forum: Looking for AppleScripts…
Topic: NodeJS library to sync Zotero data with bookends using JXA
Replies: 6
Views: 10504

Re: NodeJS library to sync Zotero data with bookends using JXA

The Zotero to Bookends synchronization script now is relatively stable: https://github.com/cboulanger/zotero-sync-bookends Bookends itself doesn't seem to particularly like being scripted - it sometimes crashes when trying to sync really big libraries (>10.000 items). Other than that, I am pretty ha...
by cboulanger
Tue Apr 27, 2021 3:09 am
Forum: Looking for AppleScripts…
Topic: NodeJS library to sync Zotero data with bookends using JXA
Replies: 6
Views: 10504

Re: NodeJS library to sync Zotero data with bookends using JXA

@landol Yes indeed I was also happy to find out that I could avoid AppleScript, but it is sad how little attention JXA seems to be getting from Apple - you almost have to guess everything. Luckily, we now have debugging support with the Safari web inspector , which makes try & error at least bea...
by cboulanger
Mon Apr 26, 2021 9:02 am
Forum: Looking for AppleScripts…
Topic: NodeJS library to sync Zotero data with bookends using JXA
Replies: 6
Views: 10504

NodeJS library to sync Zotero data with bookends using JXA

Hi, in case anyone's interested: I started working a plugin for https://github.com/retorquere/zotero-sync to allow live synchronization (as opposed to export/import) from Zotero to Bookends: https://github.com/cboulanger/zotero-sync-bookends I've tried this before a few years back but the recent add...
by cboulanger
Mon Aug 06, 2018 11:12 am
Forum: Looking for AppleScripts…
Topic: Bookends NodeJS API client released (experimental)
Replies: 1
Views: 10084

Re: Bookends NodeJS API client released (experimental)

Here are two scripts based on the Bookends NodeJS client: Find missing attachments and put them into the attachment folder (downloading them from iCloud drive locations if necessary): https://github.com/cboulanger/bookends-api/blob/master/examples/bookends-find-missing-attachments Set the BibTeX key...
by cboulanger
Mon Aug 06, 2018 11:05 am
Forum: Bookends
Topic: Bookends NodeJS API client released (experimental)
Replies: 7
Views: 5888

Re: Bookends NodeJS API client released (experimental)

I guess this might be a "if you need to ask, it is not for you"-type of question, but what does this API client do/deliver and how might ordinary people deploy it? I looked at the project website, but it didn't give elucidation! This might be an example that is more evident for the "...
by cboulanger
Mon Jul 30, 2018 9:45 am
Forum: Looking for AppleScripts…
Topic: Bookends NodeJS API client released (experimental)
Replies: 1
Views: 10084

Bookends NodeJS API client released (experimental)

I've already posted this in the general forum, but here's probably the more relevant place. For those who would like to use NodeJS to script Bookends, here's an NPM package that lets you do just that: https://github.com/cboulanger/bookends-api https://www.npmjs.com/package/bookends-api The mocha tes...
by cboulanger
Mon Jul 30, 2018 9:36 am
Forum: Bookends
Topic: Bookends NodeJS API client released (experimental)
Replies: 7
Views: 5888

Re: Bookends NodeJS API client released (experimental)

Jon, of course, you're right that's the more appropriate place -- I will post a note there.
by cboulanger
Mon Jul 30, 2018 8:45 am
Forum: Bookends
Topic: Bookends NodeJS API client released (experimental)
Replies: 7
Views: 5888

Re: Bookends NodeJS API client released (experimental)

Hi, Bookends has an AppleScript application programming interface (API) to "remote-control" the application. This way, you can programmatically work with your data, for example, to do exports / imports; search & replaces; etc. or anything that can be automated. I use it to exchange dat...
by cboulanger
Mon Jul 30, 2018 4:04 am
Forum: Bookends
Topic: Bookends NodeJS API client released (experimental)
Replies: 7
Views: 5888

Bookends NodeJS API client released (experimental)

Hi all, after discovering and being very pleased that version 13 has many useful updates in terms of Apple Script support, I upgraded not only my Bookends installation, but also rewrote my NodeJS Bookends API client: https://github.com/cboulanger/bookends-api https://www.npmjs.com/package/bookends-a...
by cboulanger
Sun Oct 15, 2017 3:34 am
Forum: Bookends
Topic: WebDav server for attachments blocking the UI
Replies: 2
Views: 2821

Re: WebDav server for attachments blocking the UI

Ok, thanks for explaining!
by cboulanger
Fri Oct 13, 2017 9:09 am
Forum: Bookends
Topic: WebDav server for attachments blocking the UI
Replies: 2
Views: 2821

WebDav server for attachments blocking the UI

Hi, this is a feature request: I use a WebDAV server for attachments which unfortunately is not very fast (or it's the connection). So when loading attachment, or also sometimes during other actions, the UI freezes while Bookends is retrieving the attachment. Would it be possible to make access to t...
by cboulanger
Sat Jan 28, 2017 6:54 am
Forum: Bookends
Topic: Bookends Scripting with OS X Javascript Automation
Replies: 13
Views: 31149

Re: Bookends Scripting with OS X Javascript Automation

For the record: Thank you Jon for implementing full paths for groups. I did not pursue the JXA route because the whole thing is simply to immature (I still don't understand why Apple doesn't make JavaScript a first-class citizen of the development ecosystem). I chose to use a NodeJS-AppleScript brid...
by cboulanger
Mon Dec 05, 2016 11:18 am
Forum: Bookends
Topic: Bookends Scripting with OS X Javascript Automation
Replies: 13
Views: 31149

Re: Bookends Scripting with OS X Javascript Automation

HI Jon, it's your software and you set the priorities, so I won't insist. Just one point: I don't think I am the only one who sorts large bibliographic collections into a fairly complex tree of "folders/groups". A lot of work goes into this ordering and it seems generally useful (at least ...
by cboulanger
Sun Dec 04, 2016 7:03 am
Forum: Bookends
Topic: Bookends Scripting with OS X Javascript Automation
Replies: 13
Views: 31149

Re: Bookends Scripting with OS X Javascript Automation

Hi Jon, just curious: if groups are not modeled as a tree of nodes having distinct ids, how do you create the tree structure?

And as I said: I'd be very happy if you just add the first two events (or others providing such information), to make the group structure readable, not just the group names.