Software Development

Yoink for Mac Usage Tip #9

The following explains how send screenshots directly to Yoink.
For more Usage Tips like this, click here.

I recently had a very interesting conversation with a customer of Yoink, Bogdan V. He wanted to make Yoink detect screenshots he created so they would show up in Yoink’s window.

Automator to the Rescue

I had the idea of using Automatorto create the screenshot and send it to Yoink. After experimenting around a little bit, I sent Bogdan a very rudimentary workflow (that could, if saved as an OS X Service, also be launched with a keyboard shortcut) and he immediately turned it into something awesome.

The Automator Workflow

This is the script of the workflow Bogdan came up with:

Automator Workflow Screenshot

You can download the Automator Workflow here (~59KB) (tested on OS X Yosemite 10.10.1).

Setting up the Service

  1. Download the Automator Workflow
  2. Unzip it and double-click on the resulting screencapture.workflow file
  3. In the dialog, select Install (except if you’d like to edit the script, then click on Open with Automator)
  4. It will be installed in your ~/Library/Services/ folder: Automator Service Path
  5. To confirm installation, in Finder, click on Finder in your menu bar, select Services and find Capture Screenshot to Yoink in the list: Service in Menu
  6. In your ~/Documents/ folder, create a folder titled Yoink (where captured screenshots will reside)

You have now successfully installed the Service to capture screenshots to Yoink. What you can do now is create a keyboard shortcut for it so you can more easily access this

Create a Keyboard Shortcut

  1. Launch System Preferences
  2. Click on Keyboard -> Shortcuts -> Services
  3. Find Capture Screenshot to Yoink in the list, under General:Screenshot System Preferences Keyboard Shortcuts
  4. Click on add shortcut and enter the shortcut you’d like to use to activate the service.

That’s It

That’s all there is to it. Now you can create screenshots that are then immediately available in Yoink for you to drag around.
If you find it useful, be sure to let me know on twitter (@eternalstorms) or by eMail – I’d appreciate the feedback!
Take care!

Update (October 14, 2015)

I got a bit of feedback on this – especially feedback from Pietro S. and Jeremy M. pushed me to update this post with a bit more information.
  • To make the Automator Script capture the entire display instead of just a selected portion, replace the line ‘ do shell script “screencapture -i ” & filePath ‘ with ‘do shell script “screencapture “ & filePath ‘ (removing the -i option to cause the selection)
  • Jeremy was so kind to provide an updated Automator Workflow that appended a date and timestamp to the screenshot’s filename; add two actions before the actual script (“Get Value of Variable”) with the variables Date and Timestamp and import them into the script – as in this screenshot:
    Screenshot of Automator, appending date and time to the filename
  • To use this Automator Workflow with the standard keyboard shortcut command-shift-4, you first have to deactivate the standard action in System Preferences -> Keyboard -> Shortcuts -> Screen Shots, or assign it a different keyboard shortcut: Screenshot of System Preferences

A ‘thank you’ goes to Jeremy and Pietro for the updated workflows.

Read more

Yoink for Mac Usage Tip #5

The following explains how to send files to Yoink from the Terminal, or a shell script.
For more Usage Tips like this, click here.

Here’s a quick tip for those of you who spend their days in OS X’s Terminal and want to use Yoink with it more easily. This is something that customers request quite a lot, so here it is for future reference 😉

terminal to yoinkTo send a file from Terminal.app to Yoink, you can use this command:

open -a Yoink /path/to/the/file

You can simplify this by creating what is called an alias command:

alias yoink=“open -a Yoink”

This way, all you have to type in Terminal.app is this:

yoink /path/to/the/file

This is a temporary alias and will work for the current Terminal session. If you’d like to make the alias permanent, please do the following (taken from this MacLife post)

To make the alias permanent, you will need to edit a file called “.bash_profile” by running the following command:

nano ~/.bash_profile

This will open nano (a command line text editor). Use the arrow keys to place the cursor at the bottom of the file, and type in the aliases that you wish to use, one per line, just as you did when creating temporary aliases. When you are done, press Control + O (Write Out) to save the file. Press Command + X to exit nano and go back to the command line.

When you quit and re-open the Terminal application, your aliases will work without having to re-create them each time.

I hope you find it useful – let me know if you have any questions or comments 🙂

Take care!
—-
My name is Matt, I’m the developer of Eternal Storms Software. If you’d like to comment, you can catch me on twitter here: [twitter-follow screen_name=’eternalstorms’ show_count=’yes’] or by eMail.

Read more

Hi, all.

Yoink 3 is around the corner, currently in the depths of Apple’s review team, waiting to get its bare bits and bytes dissected and inspected.

In the meantime, I’d like to share what’s new about this version.

Screenshots

Yoink 3

The very first thing you’ll notice about Yoink 3 is its fresh, new interface that fits in perfectly with OS X Yosemite.
My graphics designer Alexander Käßner has done a wonderful job on rejuvenating almost every icon throughout the app – including the App Icon:

Yoink App Icon

One more screenshot of the app in action, showing off the new buttons to interact with Yoink:

Yoink in Action

Functionality

Yoink 3 will be out soon and when it is released, I will share more about its new functionality and improvements.

You can download a free, 15-day trial of Yoink v2.5.2 from my website (the trial time will be reset for version 3) and purchase Yoink 2.5.2 on the Mac App Store (version 3 will be a free upgrade to existing users).

 Enjoy 🙂

—-
My name is Matt, and I’m the developer of Eternal Storms Software. If you’d like to comment, you can catch me on twitter here: [twitter-follow screen_name=’eternalstorms’ show_count=’yes’] or by eMail.

Read more

Hello.

This is just going to be a quick post about some progress on Transloader for iOS 8.

The upcoming update will, of course, come with a Today Widget.
It will let you quickly add the currently copied URL on your pasteboard to Transloader without leaving the app you’re in and show you the status of the latest 3 transfers you have running in Transloader.

You can see a short GIF of it in action here on twitter (because my blog apparently can’t handle GIF images …)

I’m pretty excited about this. It’s how I (more or less) envisioned Transloader to work in the first place. Being able to take URLs without having to leave the active app.

Great times for iOS developers.

—-
My name is Matt, and I’m the developer of Eternal Storms Software. If you’d like to comment, you can catch me on twitter here: [twitter-follow screen_name=’eternalstorms’ show_count=’yes’] or by eMail.

Read more