What are some useful ways to use Automator?
I've been using OS X for 3 generations of the OS already (Tiger --> Leopard --> SL) but haven't really ventured in using Automator much.
What are the best ways to use Automator? (Best uses, time savers, etc.)
Solution 1:
Automator helps you automate (pun intended) repetitive actions without requiring programming knowledge.
The basic building blocks of Automator are Actions. Each Action does a sigle task, that may take an input and produce an output. Automator lets you create a sequence of Actions, called Workflow. If you are familiar with UNIX it's like a UI for pipes.
Here is an Automator Workflow I use a lot, especially for downloading lecture notes in PDF from my professors' sites:
Creating Services is another feature I find useful.
Also, you can combine the power of AppleScript with the simplicity of Automator with the "Run AppleScript" Action.
As an example of both techniques, you can check out this service that opens the source of the current Safari page in TextMate.
If you need more information about Automator check this Mac 101 article.
If you are a developer and want to create new Actions or need more insight into Automator, check out this guide and the Apple's developer documentation.
Solution 2:
I made an automator script that mounted my encrypted sparsebundle and then displayed it in a Finder window.
I saved it as a service and then access it with a option + command + L.
Its a quick way to get access to my super sensitive files while still requiring a password.
Solution 3:
I use it to turn the text of web pages, books, essays, etc. into audio files that I can listen to on my iPod.
Just open the text file that you would like to have read to audio in TextEdit (making sure that it is frontmost in the application) and set this thing to running.
Here are two more related notes:
- The output is aiff (though the image above shows mp3), and at the point that I last read the Apple Mac OS X terms, and …
- The use of the text-to-speech feature is exclusively limited to personal use.
Solution 4:
Use it to whip up a quick bulk file-renamer:
See 2 Ways to Batch Rename Files in OS X for a complete walkthrough.
Solution 5:
I use automator to convert graphics files to PNG format, a task I often need. I use Preview.app's action in automator to export file(s) in Finder to PNG. It doesn't require to open Preview and then save the files one-by-one.