BBEdit is one of the first third-party applications to support Automator because we always stay on top of Apple’s new technologies!
BBEdit has offered robust and extensive AppleScript support for many years, including recordability and even attachability, but Automator is much more thanAppleScript on steroidsit means you can now leverage BBEdit’s legendary text processing power for your workflows.
While AppleScript requires you to have the text you want to manipulate in a BBEdit window, Automator Actions do notthey workbehind the sceneswith any text, even text not contained in a BBEdit document. Plus, even beginners can easily create Workflows without the learning curve of AppleScript.
(click the image above to see it full size in a new browser window)
This Workflow collects DVD release information from iCal and massages it into an easily readable format. While the last step does use BBEdit for the final destination, any Automator-capable application that accepts text would work.
Add and Remove Prefix or SuffixThese actions will prepend or append the supplied string to each line processed (or remove same).Change CaseThis action will change the case of the provided text according to the specified rules.ConcatenateThis action creates a single output string from the passed input. Automator passes elements as lists, so frequently a Concatenate action is required to have all the elements in a single document, instead of each element being in its own.Convert Spaces to TabsThis action will convert each run of N space characters into a tab character.Convert Tabs to SpacesThis action will convert each tab character into the specified number of spaces.Educate QuotesThis action will convert ASCII quotes into their typographer equivalent.Straighten QuotesThis action will convert typographer quotes into their ASCII equivalent.Get Contents of BBEdit DocumentThis action will get the contents of the frontmost or passed text documents in BBEdit according to the options you set.Set Contents of BBEdit DocumentThis action will replace or insert the passed text into the frontmost text document in BBEdit according to the options you set.New BBEdit DocumentThis action creates a new BBEdit document from the input text.Open Files in BBEditThis action will open the passed files in BBEdit.Extract Lines ContainingThis action will return all lines in the input string which contain the specified string.Remove Duplicate LinesThis action will eliminate duplicates from the provided lines according to the specified rules.Sort LinesThis action will sort the provided lines according to the specified rules.Search and ReplaceThis action will search the input string, and replace all matches with specified string.Delete Lines ContainingThis action will return all lines in the input string which do not the specified string.Normalize Line BreaksThis action will change all line breaks into the format specified.Convert to ASCIIThis action will convert the input text into an ASCII-only representation.Zap GremlinsThis action will convert each non-ASCII character as specified in the configuration.