Edit-Anywhere.kmmacros (16.1 KB)
This macro allows you to use your preferred text editor anywhere. For example, when writing a post to a web forum in a browser window, it is easy to accidentally lose what you have written. However, if you were to write it in a text file and then copy it to the browser window when you were done, you would be much safer.
This macro makes the “round trip” easier by automating the part where the text is copied/cut from the source application, opened in your preferred text editor, and then sent back to the web browser (or any other app) when you are done.
There used to be a Mac app called QuickCursor which would do this, but it was killed by sandboxing.
If you’d like more information about this, see http://www.macstories.net/mac/replacing-quickcursor-with-keyboard-maestro/ and/or https://github.com/tjluoma/edit-anywhere. The former has links to several other implementations that you might prefer over mine.