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
-
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:
- use "create document" and have to move the file manually
- 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?
-
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:
-
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.
-
Okay :-/
Is there a way to open a folder and then use create document?
-
No, sorry. If that was possible, I would have suggested it as a workaround.
-
Okay, maybe an idea for a future release to add the option "open in edit mode" to "open document" :)
-
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.