Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 2.46 KB

README.md

File metadata and controls

43 lines (26 loc) · 2.46 KB

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