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.
Any way to change file name with a workflow?
-
While there is an action that gets the current file's name, there is no action to set the name. I do not see any functionality in the editor module either. Anyone know of a way to set a file name with workflow?
-
I suppose you could use request text input for a filename, store in a variable, get document text, and set file contents with the request text input variable as the name to name it as you go... Unfortunately, you're essentially copying the file with another name though. That's all I can think of, unless there's some Python magic that can be worked. I'd love to know if there's a way that doesn't involve generating a copy. Changing the file name is easy enough in the Editor, but it might be useful in certain workflows to be able to set file name.