Search found 37 matches

by msteffens
Wed Sep 29, 2021 1:24 pm
Forum: Bookends
Topic: [Feature Request] Auto-sync to a BibTeX File
Replies: 46
Views: 45240

Re: [Feature Request] Auto-sync to a BibTeX File

only refs that change get refreshed in the background. Years ago, I've implemented a sync with a BibTeX file for refbase where found records get appended to a local BibTeX file (if they don't yet exist in that file), and existing records in that file get updated if their modification date on the se...
by msteffens
Wed Sep 29, 2021 3:23 am
Forum: Bookends
Topic: Export from Papers 3 sqlite database into Bookends?
Replies: 2
Views: 3633

Re: Export from Papers 3 sqlite database into Bookends?

Papers 3 ceased working for me and none of my attempts to revive it seemed to get it back to a state where I could export all the data successfully. If I understand you correctly, you cannot use an AppleScript-based solution (such as that offered by Bookends or like my script ) since Papers 3 crash...
by msteffens
Thu Nov 19, 2020 6:25 am
Forum: Bookends
Topic: Hook `Copy Link` name format for Bookends references
Replies: 3
Views: 3268

Re: Hook `Copy Link` name format for Bookends references

This script should work similar to yours but uses the newer script implementation : tell application id "com.sonnysoftware.bookends" tell front library window set selectedPubs to selected publication items -- requires Bookends ≥ 13.2.1 if selectedPubs is not {} then set aPub to first item ...
by msteffens
Thu Oct 22, 2020 11:02 am
Forum: Bookends
Topic: Changing 'Attached file “some file”. Reference metadata not found online.'
Replies: 8
Views: 3930

Re: Changing 'Attached file “some file”. Reference metadata not found online.'

This makes me happy! It's a great example of why scriptability is so useful in a productivity app such as Bookends! It empowers users by giving them lots of flexibility to achieve custom or alternate solutions.
by msteffens
Wed Mar 25, 2020 4:20 pm
Forum: Looking for AppleScripts…
Topic: Setting the selection with scripting
Replies: 2
Views: 11954

Re: Setting the selection with scripting

Hi Ryan, I agree it would be useful to be able to set the selected publication item(s) via AppleScript. But currently, the `selected publication items` property of the `library window` class is marked as read only in the Bookends scripting dictionary. I think that the workarounds that you've suggest...
by msteffens
Sun Jan 05, 2020 7:56 pm
Forum: Looking for AppleScripts…
Topic: Get full path of the attachment (selected item)
Replies: 1
Views: 11687

Re: Get full path of the attachment (selected item)

Can you help me to get an apple script that can get me the absolute path of the attachment of a selected reference? Using Bookends 13.2.1 or greater, the below AppleScript code should work: -- Returns the absolute path of the first attachment of the first publication -- selected in the front Booken...
by msteffens
Wed Jul 17, 2019 6:27 pm
Forum: Bookends
Topic: Recommendations about using notes (particularly with Scrivener)
Replies: 6
Views: 6086

Re: Recommendations about using notes (particularly with Scrivener)

All I can say is that I haven't found a place to write notes that I am happy with. I‘ve had similar problems and I‘m currently developing a tool that will hopefully improve on this situation. It‘s a separate Mac app (https://keypoints.app/, not released yet) that‘s meant to gather all your PDF high...
by msteffens
Wed Jul 17, 2019 6:02 pm
Forum: Looking for AppleScripts…
Topic: Papers to Bookends export script
Replies: 35
Views: 207949

Re: Papers to Bookends export script

Hi Phil. Sorry for the late reply, I somehow didn‘t get the post notification. From your description I don’t think you‘ve done anything wrong. I‘m wondering whether the new restrictions with running AppleScripts in macOS Mojave (10.14) somehow cause these issues. In any case, I think that my script ...
by msteffens
Thu Mar 07, 2019 10:56 am
Forum: Bookends
Topic: Importing pdfs and adding keywords from pdf title
Replies: 10
Views: 11186

Re: Importing pdfs and adding keywords from pdf title

iandol wrote: Thu Mar 07, 2019 10:24 am Matthias, even though I won't use this script, thank you for such well documented code; it is really helpful to see well written Applescript examples...
Hi iandol,
many thanks for the kind words! I'm happy the script is useful beyond its original purpose.
Matthias
by msteffens
Thu Mar 07, 2019 3:24 am
Forum: Bookends
Topic: Importing pdfs and adding keywords from pdf title
Replies: 10
Views: 11186

Re: Importing pdfs and adding keywords from pdf title

MjRNeuro wrote: Thu Mar 07, 2019 12:56 am Thank you, this works perfectly!! You've made my transition to Bookends much better. :D
Hi MjRNeuro,
you're welcome, I'm glad to hear that the script worked for you!
Matthias
by msteffens
Sun Mar 03, 2019 7:54 pm
Forum: Bookends
Topic: Importing pdfs and adding keywords from pdf title
Replies: 10
Views: 11186

Re: Importing pdfs and adding keywords from pdf title

if you could write a script for this, it would be incredibly helpful!! Hi MjRNeuro, I've written a script for you that should do what you want: For all publications contained in the group chosen from your frontmost Bookends library window, this script will take the first attachment of each publicat...
by msteffens
Sun Mar 03, 2019 7:40 pm
Forum: Looking for AppleScripts…
Topic: Sample script: Update publications from attachment name
Replies: 0
Views: 33857

Sample script: Update publications from attachment name

In response to a request by MjRNeuro (see Importing pdfs and adding keywords from pdf title ), I've written a script which loops over all publications in a group, and updates each publication's keywords with words extracted from the attachment name. While the script may be specific to MjRNeuro 's us...
by msteffens
Mon Feb 25, 2019 11:46 am
Forum: Looking for AppleScripts…
Topic: Guide to Applescript and Bookends
Replies: 8
Views: 19139

Re: Guide to Applescript and Bookends

Jon wrote: Mon Feb 25, 2019 10:37 am our web site now has a very helpful scripting guide for Bookends
Thanks, Jon!

To everyone: If anyone has any questions or suggestions w.r.t. the topics or examples in the scripting guide, please let me know.

Matthias
by msteffens
Fri Feb 22, 2019 7:58 pm
Forum: Bookends
Topic: Importing pdfs and adding keywords from pdf title
Replies: 10
Views: 11186

Re: Importing pdfs and adding keywords from pdf title

When I import a pdf, is there any way to automatically have Bookends look at the title of the pdf and add each word in the title (or ideally, each word between two parentheses in the title) into the keywords section? Hi MjRNeuro, based on your description I think that the newly added scripting capa...
by msteffens
Fri Dec 21, 2018 6:17 am
Forum: Looking for AppleScripts…
Topic: Papers to Bookends export script
Replies: 35
Views: 207949

Re: Papers to Bookends export script

Hi mber, Unfortunately, these scripts are no longer available. Any chance of a re-upload? I could really use these. Sorry for the trouble, the scripts are still there and I've updated the links to the last remaining domain that still works: export note+highlight annotations to individual files copy ...