ashot OS X Application Screenshot utility Install npm install ashot Use ashot <application> <out.png> ashot Calendar ./terminal.png Use as npm module var getScreenshot = require('ashot').getScreenshot; getScreenshot('Calendar', function(error, img) { // img is Buffer });