Which will look like
20— #Parking – NYC, ACME Corp—2020-04-12
As I often scan the documents on another day as when they are created now my question: How can I extract the date set in the filename so that DEVONthink saves it as the Creaton date of the file?
I created a smart rule with the following settings
OCR — Apply
Scan Text — Date – *
Change Name — [Year of newest date]— # - [Suggested Name]—[Newest date YYYY-MM-DD]
Change Creation Date — Newest date
The batch processing and smart rule actions don’t support such a case as the Scan Name > Date action requires a prefix and/or suffix. Therefore the only possibility is to script this.
There’s no such line, this would require a much more complex script (unless you want to implement the easier solution based on perform smart rule). However, just wondering what’s the purpose of your script approach when the smart rule already does the job?