~robcee/ more than just sandwiches

17 October 2009 @ 12pm

General, Mozilla

Automated Screen Grab and Upload Version 2

Last February I posted a write-up on how to automate uploads of screen captures to a web directory for sharing with others. The idea was inspired by the popular Grabup software (which Google has now added a malware warning to so I’m not linking to it). Since then OS X 10.6(.1) has been released upon the world and Grabup users have discovered that because of the way Snow Leopard names its screenshot files, Grabup doesn’t work anymore. Maybe they’re fixing it, I don’t know. There are other free alternatives, namely TinyGrab, some fiddling with DropBox, and others. It seems to be everyone’s pet thing.

With that, I’ve updated my AutoGrabUploader script and made it Even Better™! The one thing it didn’t do before was automatically dump the URL of the screenshot into the clipboard for easy pasting. You had to select it manually from the webpage that appeared in the browser. I’ve fixed that so it now gets added to the clipboard as you’d expect.

The list of requirements are pretty much the same as last time:

  • Mac OS X 10.6 – template’s been saved with newer version of Automator
  • Some kind of web-enabled remote storage (I’m using “people.mozilla.org”, but if you’ve got MobileMe you could do this with an iDisk or some other WebDAV-enabled system)
  • MacFUSE + SSHFS – only if you need to mount a folder through SSH!
  • FastScripts Lite
  • Grabup-selection-template 2 workflow.

Install MacFUSE and sshfs as before. See the notes on the MacFUSE project page for getting that working. I had to remove a library from the sshfs application bundle to make it go on my laptop.

Unzip and edit the Grabup Selelection template in Automator as below (click the image to see the full size version):

automator screen grab uploader workflow
automator screen grab uploader on flickr

When you’re done, save it to your ~/Library/Scripts folder as something like “Grabup Selection”. I have two of these, one for Selection and the other to grab a whole window. Use the Type dropdown in the Take Screenshot action to select Window and resave (careful not to copy over the interactive version).

The last step is to assign it a hotkey in FastScripts. Open FastScripts’ Preferences panel and assign Grabup Selection to a hotkey. I use Shift-Cmd-6 for selection and Shift-Cmd-5 for full window. Right next to the default Shift-Cmd-3 and 4 for the Mac’s default screenshot shortcuts.

If you’ve made it through this, congrats! Let me know if you have any problems.


Posted by
18 October 2009 @ 9am

You may also be insterested by FileShuttle http://getfileshuttle.com :)

Posted by
18 October 2009 @ 11am