Forum Archive

URL Scheme, appending to a new file or creating one if it doesn't exist

consequently

I’m loving the new Editorial 1.2—it's incredibly useful for writing on the iPad, and even the iPhone.

I need help for one thing: I’ve got a process on my iPad and iPhone where I call a URL Scheme (in Launch Center Pro) with the url:

onewriter://x-callback-url/append?path={{Notes}}&name={{log-[textexpander:;dstr]}}&text=[prompt-return:Log Entry=[textexpander:;time]]&type={{dropbox}}

which either creates a new file named for the date, e.g. (log-2014-06-16.txt), in 1Writer in the Notes directory and populates it with some text , or appends to the existing file if one exists.

The URL Schemes for Editorial either create a new file or open one if it exists. Is there any way to mimic this behaviour in Editorial? Any help would be much appreciated.

Jozh

This might help.
Editorial url scheme

consequently

Yes, I was aware of the documentation—I can't see how to get the open or new actions to do what I’d like. I expect that a workflow (command) would do the trick, but I’m still looking at how to make it work.

Jozh

You look for something like this.
http://www.editorial-workflows.com/workflow/6358109664575488/aoWXT6B39n0

consequently

Excellent. Thanks for this—combining this with the fact that a URL scheme can just run a workflow without opening an existing file or making a new one means I can do exactly what I want. That’s perfect.

MartinPacker

@Jozh assuming it's your workflow it could use a description.

But it's a nice hack: Overwrite with the original plus new.

santoshdts

Can I use this workflow posted by @jozh to use it with #draftsapp

Can someone please guide.