Snow Leopard Services in practice: Amazon S3 uploader
I stumbled upon a great example of the Snow Leopard Services that I've been drooling over. The S3 Upload Service by August Lilleaas is available as a workflow which can be opened in Automator, so you can examine its inner workings. It uses AppleScript and Ruby, easily passed back and forth thanks to Automator's building-block-style workflow. It lets you upload a publicly-accessible file to an S3 bucket, and copies the URL into your clipboard upon successful upload.
The workflow requires that you at least have RubyGems installed, and have an Amazon S3 account set up, but it will handle the rest. It asks for your S3 credentials with an AppleScript popup, which has the unfortunate side effect of not being able to be forced to the front very easily and tends to get lost behind other windows. There are workarounds to that, but no way to keep it on top once it's up. It looks possible to build custom nibs for your services, so I might play around with making a general-purpose utility panel popup to fill the void in my own projects.
In the process of rolling my own Services in Snow Leopard, I've definitely found some limitations, but I'm having fun working around them. This one is a great example of passing results -- returned from different languages -- and processing them, all within Automator. It's not super-polished -- your mileage may vary -- but a big thanks to August for putting it out there for the rest of us to play with!
Share
Categories
I stumbled upon a great example of the Snow Leopard Services that I've been drooling over. The S3 Upload Service by August Lilleaas is...
Add a Comment
how about one of these for dropbox? i'm completely ignorant on Automator
September 07 2009 at 7:38 AM Report abuse Permalink rate up rate down ReplyI'm a little ignorant of services and the automator tool. I've checked into them a bit, but I really haven't had the time, resources, or motivation to investigate thoroughly enough to help improve my workflow.
...can anyone recommend some sites that give a good walkthrough of these things? I need an explanation for why they're handy, some examples, and a step-by-step.
Are custom services a new feature in Snow Leopard? Did they get an overhaul (besides the endless menu clutter in Leopard)?
September 06 2009 at 3:46 PM Report abuse Permalink rate up rate down ReplyOh yeah. You can create new services from within Automator, including composing a service from multiple Automator workflow steps. It's quite nice. :-)
September 06 2009 at 4:39 PM Report abuse Permalink rate up rate down ReplyDevon Technologies (makers of DevonThink) have several awesome services that I use all the time.
http://www.devon-technologies.com/download/index.html#freeware
Is there a website that has some handy services ready for users to download? For the most part, I'd say services was one of the most underused parts of OS X in years past.
September 06 2009 at 3:04 PM Report abuse Permalink rate up rate down ReplyThere is a great one I found the other day, but I can't find it in my history right now. It was something like "Welcome to OS X Automation," but as soon as I figure it out, I'll post it here for you.
September 06 2009 at 3:20 PM Report abuse Permalink rate up rate down ReplyAh, found it. It's run by Apple, I believe:
http://www.macosxautomation.com/services/download/
Hot Apps on TUAW
Deals of the Day
more deals- Used Apple MacBook Pro Core i5 2.4GHz 13" Laptop for $900 + free shipping
- 6 Screen Protector Sets for Apple iPhone 4 / 4S for free + $2 s&h
- iFrogz Breeze Hard Case for iPhone 4 / 4S for $16 + free shipping
- iFrogz Luxe Lean Hard Case for iPod touch for $10 + free shipping
- Acase Black Diamond II 3D Ambience iPhone Dock for $39 + free shipping
- Photoshop Elements 10 and Premiere 10 for PC & Mac downloads for $75
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



8 Comments