We work with the text using Automator




We work with the text using Automator

Tips and tricks

June 23, 2013
Alexander Bogdanov


Today we continue our series of articles , which describe some of the wonderful opportunities the system utility Automator . Because for many it just collecting dust among other applications, time would have to make it work and make it easier to work with text.

To begin, we consider the extraction of text from a document in PDF. Certainly, in PDF pleasant view the content of a file, but edit the text is more convenient in another editor – Word, Pages, and so on.

Run Automator and choose to create a new program.

Запускаем программу

Next, go to the category of «PDF-files” and in it we find the option “Extract Text PDF».

Извлечь текст PDF

Double-clicking on it, we get into the setup menu of the program. Set the output formatted text (RTF), choose the storage of converted file (in my case it’s desktop), and the name of the document.

Меню настроки программы

Then save the program using the menu “File-Save”, but not in a hurry to run it. Why? We made so that the extraction of text from PDF will occur only if the document is to drag the program icon. Once you do that, the converted file will appear in the folder you choose, within a couple of seconds. As you can see, this is no big deal.

Works on a similar principle function of preserving the clipboard into a text file. How to copy text from a page on the Internet, open the editor and paste it in there, it not be easier to do this automatically? To do this, create a new service.

Создаем службу

In the search for introducing the ‘Get the contents of the clipboard. ” This opens the configuration menu of the new service.

Настройки службы

As input data, select the item “There is no input.” Then, without leaving the window work with the service, we left the section “Text” and select “New Text File”. Menu to create a new text file will appear in our service. You can change the title of the document storage location and character.

Окно программы

Save the service as in the first case, and for easy access to set a keyboard shortcut. Open System Preferences and then “Services Configuration”, where we find the service you created. You can set a keyboard shortcut with a double click.

Задаем сочетание клавиш

Now when you copy text to the clipboard, you can enable this service, and content is automatically saved to a text file at once.

The following materials are some other features of the utility Automator.



In: Technology & Gadgets Asked By: [15509 Red Star Level]

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »