Search found 2 matches

by pkus
Tue Feb 28, 2023 12:27 pm
Forum: Looking for AppleScripts…
Topic: Getting a specific reference format using JXA
Replies: 3
Views: 5242

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

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 ...