Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Send text from Drafts to specific Dropbox folder in Editorial?
-
Hello,
I'm trying to figure out how to take text from Drafts 4, send it to Editorial, and use it to create a new file in a specific folder of my Dropbox. In this case the folder I'm aiming for is called nvNotes, and I was hoping to specify this path via the URL, like so:
editorial://new/[[title]].txt?root=dropbox&path=/nvNotes/&content=[[body]]
or by maybe using the full path instead:
editorial://new/[[title]].txt?root=dropbox&path=/Apps/Editorial/nvNotes/&content=[[body]]
However, both actions create the new file at the root level of my synced Dropbox folder in Editorial (/Apps/Editorial/). Does the Editorial URL scheme have the power to specify the path of a new file, like I'm trying to have it do above? Or is there a way to do via a workflow? (And if so, how?)
Thanks for any help!
Oh and P.S.: the
content
element of the URL scheme is still undocumented here. I only discovered it through this forum post. -
Try something like:
editorial://new/nvNotes/[[title]].txt?root=dropbox&content=[[body]]
The path is relative to your sync folder (which I assume to be the default /Apps/Editorial here).
-
So that's how it works! Ah, perfect.
Thank you!