Tech Tips

Automatic Dropshadow and Border on Mac OS X Screenshots

If you’re like me, you take lots of screenshots. I probably average 20 a day. Primarily I use CMD-SHIFT-4 and drag a box around what I want to capture. The result is exactly what I highlighted. Here’s an example:


That looks fine, except there’s nothing that really helps the image stand out. It’s not ready for blog posts, documentation, or wherever else you’d like to use an image. I’ve approached the problem a few different ways in the past, but I’ve finally settled on a Keyboard Maestro-based solution for “Automatic” processing of these screenshots. I also have created a “Drop shadow” Service so you can apply a dropshadow to any image by right-clicking and using the Services menu.

Basically I look for new files on the Desktop called “Screen Shot*.png” and use imagemagick convert to add a border and dropshadow. The new file is then saved to the Desktop using a slightly different name so that it’s not reprocessed. The original file is then deleted. Here’s the end result:


Isn’t that much better? The best part is that it happens automatically! I take a screenshot and by the time I check my desktop it’s already been processed.

You can also use similar code to add a “Drop shadow” item to the Services menu when you right click any image. This is great for those images you didn’t capture with the built-in screenshot tool.

You should update the paths used in the macro and the workflow to suit your needs.

Download Keyboard Maestro Macro | Download Service (Automator workflow)


One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *