Giter Club home page Giter Club logo

alfred-screencapture-enhancer-workflow's Introduction

Screencapture enhancer for Alfred App

Workflow to enhance OS X screencapture capabilities, particularly with the option to capture last captured area and naming options.

The screencapture app that ships with OS X is quite Ok, but I've always missed being able to keep capturing the same previously captured region, for example for taking screenshots of different pages, where you define a region by taking the first screenshot, and then keep taking new ones in different pages.

This workflow allows this by disabling the original OS X shortcuts and implementing the same shortcuts within the workflow. There're same caveats to install, basically manually removing the original shortcuts and manually adding the same ones to the workflow, since installing workflows does not allow you to import the defined shortcuts (see below).

In the area mode the workflow performs a normal area screenshot, and at the same time runs a custom made cli app in Objective-C that listen for mouse and keyboard events and saves the proper screen coordinates for later use. It also circumvents a few bugs from the cli screenshot app.

Additionally, the workflow works by keywords. The keywords way has the advantage of allowing to specify a custom name for the screenshot, instead of the default one.

Usage

  • ⌘+⇧+3 to take a full screen capture, or write the keyword capturescreen and optionally specify a filename.
  • ⌘+⌃+⇧+3 to save a full screen capture to the clipboard, or write the keyword capturescreen and action it while holding control.

capturescreen

  • ⌘+⇧+4 to take an area screen capture interactively, or write the keyword capture and optionally specify a filename.
  • ⌘+⌃+⇧+4 to save an area screen capture interactively to the clipboard, or write the keyword capture and action it while holding control.

capture

  • ⌘+⇧+⌥+4 to take a screen capture of the previously used area, or write the keyword capturelast and optionally specify a filename.
  • ⌘+⇧+⌥+⌃+4 to save a screen capture of the previously used area to the clipboard, or write the keyword capturelast and action it while holding control.

capturelast

As shown in all examples, the keyword version is capable of specifying a name for the captured image.

Installation

For OS X 10.9 Mavericks, Download the alfred-screencapture-enhancer.alfredworkflow and import to Alfred 2.

For Previous OS X Versions, Download the alfred-screencapture-enhancer.alfredworkflow and import to Alfred 2.

First, go to System Preferences -> Keyboard, there to the Shortcuts tab, select Screenshots in the left list and uncheck all the shortcuts on the right, as shown below.

preferences

Then install the workflow and fill the 6 shortcuts with the desired key-combos. The workflow is imported without key combos. It should look like this:

no-shortcuts

This are the recommended key-combos, the same ones disabled earlier, plus two new ones:

  1. ⌘+⇧+4, to capture an area
  2. ⌘+⌃+⇧+4, to capture an area to the clipboard
  3. ⌘+⇧+⌥+4, to capture the last area
  4. ⌘+⇧+⌥+⌃+4, to capture the last area to the clipboard
  5. ⌘+⇧+3, to capture the full screen
  6. ⌘+⌃+⇧+3, to capture the full screen to the clipboard

After configuring the shortcuts it should look like this:

shortcuts

Configuration

You can configure the image format, base name, location and drop shadow (in window mode) within the workflow. This procedure is done manually by opening the workflow folder and editing the config.yml file, the options are self explanatory, but please save a backup of the file before changing it.

In the future I'll implement the configuration within the workflow.

Changelog

  • 2014-02-22 - Released

alfred-screencapture-enhancer-workflow's People

Contributors

ramiroaraujo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.