Search found 33 matches

by msteffens
Wed Mar 25, 2020 4:20 pm
Forum: Looking for AppleScripts…
Topic: Setting the selection with scripting
Replies: 2
Views: 3531

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: 3943

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: 2386

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: 23912

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: 5651

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: 5651

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: 5651

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: 16120

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: 6256

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: 5651

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: 23912

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 ...
by msteffens
Tue Nov 13, 2018 4:34 pm
Forum: Looking for AppleScripts…
Topic: Papers to Bookends export script
Replies: 35
Views: 23912

Re: Papers to Bookends export script

Hi Martin,

that's great to hear, and many thanks for the feedback!

Best, Matthias
Wagenmann wrote:
Tue Nov 13, 2018 2:14 pm
Matthias! Your script is perfect - it saved me lots of time and effort and really motivated me to invest more time and effort into Bookends!
by msteffens
Wed Jan 10, 2018 8:16 pm
Forum: Bookends
Topic: How to migrate from Papers3 to Bookends
Replies: 19
Views: 7565

Re: How to migrate from Papers3 to Bookends

Hi Ben, thanks for the kind words, and for reporting the script's issue with missing PDFs. I've uploaded an updated script version which fixes this issue. I.e., the script now ignores any missing PDFs (it just logs their papers to Console.app) and imports only their publication metadata. Btw, you ca...
by msteffens
Mon Oct 30, 2017 8:00 pm
Forum: Bookends
Topic: How to migrate from Papers3 to Bookends
Replies: 19
Views: 7565

Re: How to migrate from Papers3 to Bookends

I've written a "Papers To Bookends" export script that should enable Bookends to honor the annotations in the PDFs exported by Papers. For more info, please see the script's Readme file and follow the steps in the "Known Issues" section: https://github.com/extracts/mac-scripting/tree/master/Papers3/...
by msteffens
Thu Oct 19, 2017 11:41 am
Forum: Looking for AppleScripts…
Topic: Papers to Bookends export script
Replies: 35
Views: 23912

Re: Papers to Bookends export script

Hi Juha, Yes it works now! Thanks so much for your help on this. That's great to hear! one feature that would be useful to have is the exportation of Papers 3 annotations to the Bookends. If you follow the steps given in the script's ReadMe , the script should already be able to transfer the annotat...