ichat2flickr automator action

ichat2flickr.gifSince I started using a Mac with a built-in iSight, I've been changing my buddy icon every morning. It's always a bit of a surprise how it comes out, because you only get 3 seconds to pose. Some of them were turning out pretty funny, and I wanted to be able to store and share them. So I wrote this automator script to upload the new picture to flickr using the email to flickr method.

The keys to this project were:

  • Buddy icons are stored in ~/Library/Images/iChat Recent Pictures/
  • Automator can create and send a mail message with an attachment
  • An Automator Workflow can be saved as a plugin, and run as a Folder Action whenever a file is added to the folder.

This script is saved as a plug-in Folder Action on the ~/Library/Images/iChat Recent Pictures/ folder. When it sees a new file added to that folder, it copies it to ~/Pictures/Flickr Selfportraits/, then changes it from a TIFF to a JPEG, then attaches it to a new email in the Mail program, then sends off the email to flickr.

Setup:

  1. Open the workflow in Automator.
  2. Customize the email details with your Flickr Upload by Email address, customize tags if desired, and choose an email account to send from.
  3. Save as a Plug-In, Plug-In for Folder Actions, Attached to Folder: ~/Library/Images/iChat Recent Pictures
  4. Change your buddy icon in Adium or iChat, and test it out!

I'd like to be able to upload to flickr directly from the automator script instead of having to use the Upload by Email function, but I haven't found anything that does that yet. I did find this Automator Action, written by Fraser Speirs which does just that, but it's not intel-friendly at the moment. Maybe I'll offer to help him update it.

Have fun, and please leave a comment if it works or doesn't work. I'm new at releasing Automator workflows.

Note:Apparently, an Automator workflow is really a folder, not a discrete file. I've zipped it up into an archive now for distribution. Drupal did NOT like trying to attach that.

AttachmentSize
iChat2Flickr.workflow.zip3.45 KB

Trackback URL for this post:

http://rhymeswithtoaster.com/trackback/48

Comments

photographer:

Seem like this would be very useful. I'm going to give it a shot...

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.
  • Easily link to terms in various wikis. For help, see <a href="/interwiki/3">interwiki</a>.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.