I am testing Scrivener at the moment and I am getting my head around slowly about the basic features.
One thing I would like to know is how to get my data from DEVONthink into Scrivener. I am not talking about migrating.
I have folders in DEVONthink in which I have several markdown files each. Each folder also contains an asset folder for all the images related to the project.
What I would like to know is, how to best transfer the data into Scrivener to continue writing.
The markdown files in one folder contain notes to one topic. It would be easy to write a script, concatenate them into one markdown and cleanup a bit with the headings. I could then use the Import and Split function. Which works well. I could also just move the images into the Research folder. But here is the point where I don’t know how to automate the adjustment of the image references in markdown into a Scrivener internal link.
As I am dealing with lots of folders, each containing lots of markdown and images. I do not want to connect the images manually inside Scrivener. As I understand, AppleScript is not an option. Is there any other way?
You mention the files in DEVONthink are in distinct Groups–you called them folders, but in DEVONthink they are “Groups”, not folders. Move (See Edit below) all the markdown files into one new Group in DEVONthink. Do not bother doing anything with the “assets” as DEVONthink will take care of links to the image files.
Then in the new consolidated DEVONthink Group, select all the markdown documents, then convert them into “Rich Text”, then drag and drop the new *.rtfd files into your Scrivener Binder.
This will result in documents with the images embedded.
If you want to keep the same Group structure in Scrivener Binder as in DEVONthink, then do not move the files into one Group, and handle each group individually, dragging and dropping into Scrivener in the hierarchy you want.
Edit: Just remembered. If all the Groups (folders) in DEVONthink are in the same hierarchy, can go to the “root” Group and show only documents sans Groups with Menu: View → Show only Documents. No need to move or copy all the documents in different groups if this the case.