View in HD at . You can create a very short Automator action to take text as input, manipulate it, and replace the original text. In this example, we'll create a Javascript JXA action that encloses the text in quotes. You can use this in conjunction with a keyboard shortcut to quickly apply quotes in Pages and other apps.