omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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?

    Editorial
    2
    3
    2433
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dgbeecher
      dgbeecher last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • omz
        omz last edited by omz

        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).

        1 Reply Last reply Reply Quote 1
        • dgbeecher
          dgbeecher last edited by

          So that's how it works! Ah, perfect.

          Thank you!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors