Giter Club home page Giter Club logo

screenshot-to-yoink's Introduction

UNMANTAINED

Warning, this script is unmantained since I no longer use a Mac. I have no idea if it works or not.

Screenshot to Yoink

This is a simple Alfred script that captures screenshots directly into the Yoink app. This was inspired by the Automator workflow from the Yoink blog, and the functionality is fundamentally the same. Using Alfred however, is quite a bit faster than using Automator.

Download

Download the .alfredworkflow file

Activating the Workflow with a keyboard shortcut

Selective Screenshot Keyboard

Activating the Workflow with keyword

Selective Screenshot Keyword

Screenshot name and location

I tried to replicate the default macOS screenshot naming and location. If you've set a custom location via:

defaults write com.apple.screencapture location ~/Path/to/Screenshots

The script will use that location. If not, it will default to ~/Desktop.

Additionally, you can set a different screenshot location for this script only via the Alfred Workflow Environment Variable screenshot_alt_dir.

But what is Yoink and what is Alfred

Yoink is a persistent Drag and Drop shelf utility and Alfred is a customizable Spotlight replacement that can run scripts and many other things.

Tips and tricks

Workflow Shortcut

⇧⌘4 is the default macOS shortcut for saving a screenshot of a selected area and ⇧⌘3 is the default for full-screen. However, you might not want to send every screenshot you take to Yoink. ⇧⌘5 for selective screenshots and ⇧⌘6 are good shortcut alternatives for triggering this workflow:

Cool Screenshot Shortcuts

Screenshot filename

Simplify the name by removing spaces and just using the unix timestamp: Filename alternative

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.