Minggu, 02 Juni 2013

[Mobile Cellphone Info] Automator workflow of the month: Quick media manipulation

Mobile Cellphone Info has posted a new item, 'Automator workflow of the month:
Quick media manipulation'

Much as we depend on text, a lot of us deal with images, audio files, and movies
as part of our workaday world. And its not unusual that when working with such
files you need to perform a minor tweakrotate a picture, convert a music track
to something that better harmonizes with iTunes and your iPod, or trim a movie
that wont fit through an email gateway. All these tasks are possible, but its a
bother to launch an application, import the media, and do the deed for such
seemingly minor tweaks. Thanks to Automator, you neednt. All this and more can
be performed in the Finder. Lets see how.

Rapidly rotate an image
In the Windows OS, you can right-click on an image and choose a Rotate command.
The Mac OS lacks such a feature, but you can produce something darned close with

Launch Automator (in your /Applications folder) and in the template chooser that
appears choose Service. Click Choose. In the resulting workflow window,
configure the pop-up menus at the top of the window to read Service receives no
input in any application.

Select the Files & Folders library and drag the Get Selected Finder Items and
Copy Finder Items actions into the workflow area (in that order). Now select the
Photos library and add the Rotate Images action to the workflow. Create a new
folder on the desktop and call it Rotated Images. Drag that folder to the Copy
Finder Items pop-up menu. In the Rotate Images action, choose the kind of
rotation you want the workflow to performleft, right, or 180 degrees. Save the
workflow (File > Save) and give it an intuitive name such as Rotate.

Once you set up this workflow, you can select an image in the Finder and press a
keyboard shortcut to rotate the image.Launch System Preferences, choose the
Keyboard preference, click the Keyboard Shortcuts tab, select Services from the
pane on the left, and scroll the right pane to the bottom of the list where
youll find your Rotate service. Click the Add Shortcut button and press the
keyboard shortcut youd like to use to run the workflow.

Now, when you need to rotate an image, just select it and press this shortcut.
The resulting image will appear in the Rotated Images folder you created.

Convert images to black and white
Sometimes black and white images are more appropriate for the project youre
working with. Theyre easy to create with Automatoreasier still because this
workflow is almost exactly like the one I just described. Do everything I
outlined in the previous workflow with these exceptions.

The folder you create on the desktop should have a more appropriate nameBlack &
White, for example. Remove the third action from the last workflow (the Rotate
Images action). In Automator select the Photos library and drag into the
workflow the Apply Quartz Composition Filter to Image Files action. From its
list of effects choose Black and White. As with the previous action, assign a
keyboard shortcut to it. Done.

This action has many options other than Black and White. Explore the menu and
you may find some other possibilities that intrigue you.

If you intend to convert a lot of images, youre better off creating this
workflow as an application and then saving it to the desktop. When you need to
perform your conversion, just drag your images (or a folder that contains them)
to this workflow application.

Convert audio files
Your goal in this workflow is to convert an audio file to the iTunes Plus format
(256kbps AAC) and add it to your iTunes library. You might do this if you have a
lot of uncompressed audio files (say in WAVE or AIFF format) that you'd like to
make smaller.

This one is best employed as an application, so you can drop files onto it for
conversion. Select File > New in Automator and choose Application in the
template chooser. Click Choose.

From the Music library, drag the Encode to MPEG Audio action into the workflow.
Additionally add the Import Files into iTunes action. From the first actions
Setting menu choose iTunes Plus. Configure the menus in the second action to
read Existing Playlist Library. Create a new folder on the desktop and call it
Converted audio. Drag this into the Destination pop-up menu in the first action.

Creating a workflow for converting audio files is easy.Save the workflow as an
application and place it on your desktop. When you want to convert a file and
add it to iTunes, just drag it on top of this application.

Note: If youre not interested in adding the file to iTunes, you can accomplish
the rest of it without Automator. Just select your audio file and choose Finder
>Services > Encode Selected Audio Files. An Encode to MPEG Audio window
will appear where you can choose from four settings in the Encoder pop-up
menuHigh-Quality (128kbps AAC), iTunes Plus (256kbps AAC), Apple Lossless (no
compression applied), and Spoken Podcast (ABR 22.05 Khz AAC).

Gee, converting audio files seems so easy that doing the same with movies should
be a snap too, right? It is.
Convert movie files
Gee, converting audio files seems so easy that doing the same with movies should
be a snap too, right? It is.

As with audio files, you can skip Automator altogether if you just want to
convert your QuickTime movie files. Select the video you want to convert and
then choose Services > Encode Selected Video Files from the Finder menu. (You
will not see this option in the Services menu unless you've selected a video.)

An Encode Media window appears from which you can choose from among five
settings480p, 720p, 1080p, Audio Only, and Apple ProRes. In the case of 480p and
720p, you have the option to choose Greater Compatibility or Higher Quality.
Greater Compatibility means the files work on more devices (old-style video
iPods, for example). Higher Quality means the files wont be compatible with
those older iPods and will be larger (and, of course, theyll look better on
these devices than those encoded at the lesser setting).

Where Automator can be helpful is in adding your converted movies to iTunes. You
do this just as you did in the previous workflowadd the Import Files into iTunes
action. In this instance youll want to configure its pop-up menus to read
Existing Playlist Movies.

And theres more
These are very basic workflows for performing common tweaks. If your needs are
greateryou want to take these images and upload them to a server, plant them in
documents, or share them with otherstheres a good chance Automator can provide a

You may view the latest post at

Best regards,
Mobile Cellphone Info

Tidak ada komentar:

Posting Komentar