Importing Data into Custom Metadata Fields

Thank you chrillek. I have tried the script addition, but get this error message:


when I try to save.

FYI, The pseudo-csv was copied and pasted from within DT.

On a related query, how would I change the script to place the ‘cite’ reference string into the Finder Comments field? Is that doable?

This relates to the query here: Some questions to Custom Metadata - #10 by BLUEFROG
Finder Comments seems to be the only general text metadata field that syncs with DTTG – is that right?

Did you do this as I instructed…?


Finder Comments seems to be the only general text metadata field that syncs with DTTG – is that right?

In a currently accessible way, yes.

Replacing this
& '"'
with that
& "'"
should remedy the error. I’m really not an AppleScript person :frowning:

Sorry, yes. Have tried with several, and each time the search returns just the one instance of the pdf file (plus the csv file which contained that reference).

Thanks – yes, that worked.

How do I do that?

Is this doable?

In the Windows menu:

Problem solved!

The issue was that I was importing the pdf files and the csv and immediately running the script. In each batch there were at least a few files that were of kind ‘PDF document’, which DT was still running OCR on when the script was run. Problem solved by waiting for all to be converted to ‘PDF+Text’. Also solved the quirk of one cite being applied to the csv itself.

So sorry for the time wasted on this, but I’m very grateful for your help.

You’re welcome and no time was wasted. :slight_smile: