This post originated from an RSS feed registered with Ruby Buzz
by Eric Hodel.
Original Post: Finder Automator Plug-ins
Feed Title: Segment7
Feed URL: http://blog.segment7.net/articles.rss
Feed Description: Posts about and around Ruby, MetaRuby, ruby2c, ZenTest and work at The Robot Co-op.
Apple’s Automator allows you to perform drag and drop scripting for OS X applications. So far I’ve only written two Automator workflows, one that loads selected photos into iPhoto I call “Import Photos” and one script that attaches selected files to a new email I call “Mail Selection”.
For the Import Photos workflow grab the “Get Selected Finder Items” action then drop the “Import Photos into iPhoto” action below it. I add my photos to Library. Then select Save As Plug-in from the File menu and it will show up in the Automator item of Finder’s context menu.
The attach as email workflow is practically identical, it consists of “Get Selected Finder Items” followed by “New Mail Message”. Selecting “Mail Selection” from Finder gives me a new mail message with whatever items I had selected attached.