Last autumn I wrote a short script to set up a database from scratch. It ran fine then, but not now.
The basic problem is that it will not set values for a list of properties:
tell application id "DNtp"
set refLocation to create location "/Archief/" in database pnameDB
set {comment, URL} of refLocation to {"archive_folder", "none"}
end tell
--> error "{«class DTco» of «class DTpr» id 46 of «class DTkb» id 4 of application \"DEVONthink Pro\", URL of «class DTpr» id 46 of «class DTkb» id 4 of application \"DEVONthink Pro\"} kan niet worden ingesteld op {\"archive_folder\", \"none\"}. Toegang niet toegestaan." number -10003 from {«class DTco» of «class DTpr» id 46 of «class DTkb» id 4, URL of «class DTpr» id 46 of «class DTkb» id 4}
```I can set properties one by one, but not as a list.
This worked initially (sep 2014). What changed?
I'm running DTP 2.7.6.