Search found 4 matches

by pkus
Fri Apr 18, 2025 3:38 am
Forum: Bookends
Topic: Page link syntax
Replies: 2
Views: 2593

Re: Page link syntax

Thanks, that’s really helpful. And much better than what I thought, it means I can even create links in Shortcuts on the iPad.
by pkus
Thu Apr 17, 2025 3:46 am
Forum: Bookends
Topic: Page link syntax
Replies: 2
Views: 2593

Page link syntax

When I copy a link to a page, it has a format like this: bookends://sonnysoftware.com/pdf/Library1/138383/ 1673361249 /6 What is that middle number between the unique id and the page? Is it an attachment id? Is this in some way accessible to scripting? The reason I'm asking is that I'd like to const...
by pkus
Tue Feb 28, 2023 12:27 pm
Forum: Looking for AppleScripts…
Topic: Getting a specific reference format using JXA
Replies: 3
Views: 24127

Re: Getting a specific reference format using JXA

Thanks for the reply.

I had tried `item.format('Nature.fmt')` already, that does not work. But after some trial and error I've found the solution:

Code: Select all

let shortRef = item.format({using: 'Nature.fmt'});
by pkus
Tue Feb 28, 2023 10:44 am
Forum: Looking for AppleScripts…
Topic: Getting a specific reference format using JXA
Replies: 3
Views: 24127

Getting a specific reference format using JXA

Hi everyone, I'm trying to integrate Bookends and DEVONthink using Javascript for Automation. I've managed to convert the item fields in BE to custom metadata in DT, but I'm struggling with getting a reference in a specific format, which I want to use for renaming the file in DT. This little script ...