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.


    Open file in edit mode

    Editorial
    3
    7
    4958
    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.
    • charmaex
      charmaex last edited by

      Hi there,

      I want to create a file within a specified folder (using a template) and then have the keyboard opened to start right away.

      Right now I have two options:

      1. use "create document" and have to move the file manually
      2. use "set file content" and "open document" and have to tap on the screen to invoke the keyboard.

      I also tested "replace selected text" and added the cursor but this didn't help either.

      Is there a way to create a file in a dropbox folder and start typing right away?

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

        It's actually simpler than that, though perhaps not entirely obvious. When you edit a template, simply make sure that the text area contains a cursor placeholder. The default templates already do this; in your own, you can set the cursor position using the "selection" button on the extra keyboard row:

        Screenshot

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

          Hmm, now that I read your question again, I think I completely misunderstood your problem...

          Unfortunately, I can't think of an easy way to do this when you need to add the file to a specific folder, and not the one that's currently selected.

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

            Okay :-/

            Is there a way to open a folder and then use create document?

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

              No, sorry. If that was possible, I would have suggested it as a workaround.

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

                Okay, maybe an idea for a future release to add the option "open in edit mode" to "open document" :)

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

                  You can also add folder path to filename in "create document", eg. folder/document.txt

                  That should solve it if you have only one folder in mind, but if you want to choose it every time, you could generate a list of folders in a current folder at the beginning (I'm sure it's possible but I won't be able to give you a working example quickly).

                  Edit: Try this: http://www.editorial-workflows.com/workflow/5804267457740800/GF-gZVAMdeU

                  But it will only work when run from top Dropbox folder.

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