Text Massagers

An Alfred Workflow


Short Description

Text Manipulation scripts

Last Updated

23 Sep 2014

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
No Yes Yes Yes Yes
 

Version

1.3
 

Bundle ID

com.customct.TextMassagers
 

Author

Categories

I am often changing text around to different formats in large quantities. So, I made a workflow for keeping all of them. I call it text massagers because you are "massaging" the text with the script. You can use this as your template for your own massagers. All of these scripts takes the item from the clipboard, massages it, and places back into the clipboard while showing you the results.

<alt><command>m  - Expects a markdown anchor line in the clipboard                    and converts it to a HTML anchor within a list                    item.

<alt><command>o  - Changes the "streaming=off" to "streaming=on" in                    a WordPress shortcode in the clipboard.

<alt><command>t  - Fixes a time into HH:MM:SS format no matter what                    it was before.

<shift><command>” - Takes the current selection and passes it to the “tm:select” command for selecting the text massager from a list and shows the results in the list. It will then perform the selected “massage” to the text and copy it to the clipboard and back into the document it was grabbed from if possible.

tm:select - Takes the text on the rest of the command line and runs it through the different massagers. The sub-title shows what each massager will do to the text. When selected, the resulting text is copied to the clipboard and the top application.

<shift><alt>” - Takes the current selection and passes it to the “tm:selectn” command for selecting the text massager from a list. It will then perform the selected “massage” to the text and copy it to the clipboard and back into the document it was grabbed from if possible.

tm:selectn - Takes the text on the rest of the command line and runs it through the different massagers. When selected, the text massage will be performed and the resulting text is copied to the clipboard and the top application.