1Writer is definitely the most versatile text editor for long form available for iPhone and I'm proud to be one of the first to spot this gem wandering the App Store. Last year I explained how to integrate 1Writer with TextTool, another outstanding app released last year to replace the selected text after transformation on the latter. Today we're going to dive deeper into 1Writer and its improved workflow to replace text using other apps.
This is our action from last year to apply the
entify method to our selected text using the clipboard:
In this action, you must manually insert the path and type of your file, making it unreliable in a more complex organization. Now, if you grasp at the actions built-in 1Writer, you'll find te:Replace, an action you may recognize from other apps, such as Drafts, as a method to pick a different word in Terminology and replace the current selected word in the caller app.
Terminology uses the
retParam to set the word that returns to the caller, 1Writer in our case. You may find the use for this parameter on Phraseology as well, but aside from Agile Tortoise great apps, you can use this trick to tidy up your links with Clean Links.
Now the fun begins, remember the action from last year I posted a couple paragraphs behind? Well, you had to hardcode the path to the file you were working on and that’s a versatility killer until 1Writer added the
replace-selection support we just saw. It fails without
retParam unless you add the
text parameter elsewhere — as we do here:
This one uses the
educate method to change quotes to smart quotes and dashes to hyphens. Notice how we tell TextTool to send the
[[output]] as text, since it doesn’t support
Using Safari for research
Writing online leads to a lot of research, since 1Writer lacks a built-in browser, we can use the flexibility of this new workflow method to link 1Writer with Safari using an action for the previous and a bookmarklet for the latter due to its lack of x-callback-url support1.
On Safari, you can navigate until you find what you’re looking for. We’re going to use a bookmarklet to send the site we found back to 1Writer:
This one will create an almost perfect Markdown link using the url and title of the page you send to 1Writer. Would be awesome if we could use the query again, so we could built a complete Markdown link, it could be the
[text] parameter again or something like
|text|, but it would be awesome to speed up our writing workflows using 1Writer.
So remember, if you enjoy using 1Writer as much as I do, this is your new best friend:
It works just like that with any app using the
retParam parameter, for others, don't forget to attach what's the output you want:
Unfortunately, not so many apps support an output parameter, some even documented it (like Calca), but haven't implemented yet. I bet we'll soon have more apps to explore inter-app communication with more and more layers. It feels like yesterday when the x-callback-url library had no more than 30 apps. Now you find almost 90. Times are changing fast.