Carlos-Sz

Screenshots 1.1: capture, save to Dropbox, get Link and manage files and past links

44 posts in this topic

Screenshots

Overview

Take screenshots and manage files within a Dropbox Public subfolder.

Main features:

  • custom filename with constants
  • always use the last filename pattern (useful for a set of screenshots from the same theme)
  • capture screen, selection and window with or without shadow
  • optional 5 seconds delay
  • get URL to the clipboard: normal and shortened by bitly or Brb.bz
  • manage screenshots (that's why a subfolder in Dropbox Public folder is recommended): preview, get public link, upload to Cloud App, upload to imgru and all Alfred file actions
  • list past links then copy to the clipboard, paste or open in the default browser

Setup

Bring Alfred and type the keyword setupss

  • Select the Dropbox Public folder: it is recommended to, first, create a subfolder into Dropbox Public folder, e.g. ~/Dropbox/Public/Screenshots/ so you can easily manage only the screenshots taken instead of all image files inside your Dropbox Public folder
  • Type your Dropbox Public folder ID: go to your Dropbox Public folder, right click a file and select Copy Public Link, then paste it in a text editor and copy the number there
  • Select the URL type to be copied to the clipboard (bitly and Brb.bz require registration and an API key)

Take a Screenshot

Bring Alfred and type the keyword ss then select the capture mode from the list.

ssworkflow.png

Optionally type the filename. You can use constants such as $d (day), $m (month), $y (year), $h (hour), $n (minute) and $s (second). The last typed pattern is always automatically used.

  • Command key: set a 5 seconds delay before the screenshot
  • Option key: save the screenshot to the clipboard instead the folder
  • Control key: reset the filename pattern to the default one

Note that you can set hotkeys for all screenshot types.

Screenshots Manager

Bring Alfred and type the keyword ssm

You will see a list of screenshots and you can:

  • Return key: open the file
  • Shift key: preview the file
  • Command key: get link
  • Option key: upload to Cloud App (install the app first)
  • Control key: upload to imgru
  • Righ arrow: for Alfred file Action (delete, copy and so on)

Screenshots Cloud

Bring Alfred and type the keyword ssc

You will see a list of past links made by the workflow. You can:

  • Return key: copy the link to the clipboard
  • Shift key: preview the lined image
  • Control key: copy and paste the link to the topmost application
  • Option key: open the link in the default browser

What's New

  • Keyword ssc to list past links
  • List screenshots using Finder if Spotlight is not available

Download

Version: 1.1
Date: 01 Mar 2014
Made on OSX 10.9.1
Download Now

Edited by Carlos-Sz
thec13 and vdesabou like this

Share this post


Link to post

Just read your description. I don't have time right now to test it out but hell it seems incredible. Your workflows rule mate.

Edited by Arthur

Share this post


Link to post

Just read your description. I don't have time right now to test it out but hell it seems incredible. Your workflows rule mate.

 

 

That's absolutely amazing! Thanks for sharing this!

 

Thank you!

Share this post


Link to post

Dropbox dropped the use of the Public folder and no longer supports it. So, like my account, it does not have the Public folder and they say it never will. Could that be more generalized to any folder in Dropbox?

Share this post


Link to post

Dropbox dropped the use of the Public folder and no longer supports it. So, like my account, it does not have the Public folder and they say it never will. Could that be more generalized to any folder in Dropbox?

It seems there is a way to enable the Public folder in any account:

https://www.dropbox.com/help/16

Share this post


Link to post

I've just had the time to try your work out. It seems to work smoothly including the bitly support. However regardless of the amount of screenshots i take i can't seem to get the ssmanager to work. It just shows "No results".

 

I'm using the plain standard pattern but i don't think it makes any difference. Anybody else having this issue?

 

Edit:

My folder structure is what you recommend in your description. /Dropbox/Public/Screenshots/

Edited by Arthur

Share this post


Link to post

I've just had the time to try your work out. It seems to work smoothly including the bitly support. However regardless of the amount of screenshots i take i can't seem to get the ssmanager to work. It just shows "No results".

 

I'm using the plain standard pattern but i don't think it makes any difference. Anybody else having this issue?

 

Edit:

My folder structure is what you recommend in your description. /Dropbox/Public/Screenshots/

 

Please, try to run the setupss again and make sure your Dropbox folder is indexed by spotlight (Mac Preferences>Spotlight>Privacy).

 

Right now the workflow uses mdfind, that depends on spotlight, to list the files. 

 

 

[update]

 

You can try the following build that will also use Finder commands (slower) to list files: download

Edited by Carlos-Sz

Share this post


Link to post

I'm trying to use a non-dropbox folder with this workflow. Is it possible? Each time I try to take a screenshot, it takes me through setup, I select the folder I want to use for screenshots, and press return through the short-url options. The workflow never takes a screenshot, though.

Share this post


Link to post

I'll have to make some changes in order to make it work outside the Dropbox Public folder. I'll see what I can do.

I'm trying to use a non-dropbox folder with this workflow. Is it possible? Each time I try to take a screenshot, it takes me through setup, I select the folder I want to use for screenshots, and press return through the short-url options. The workflow never takes a screenshot, though.

Share this post


Link to post

Works great, Carlos! Selection, window and screen all worked. Cloud of course didn't work, because I'm not using a dropbox folder. By the way, that option is misspelled: it reads "Screenshots Clound"

 

Thank you!

Share this post


Link to post

Works great, Carlos! Selection, window and screen all worked. Cloud of course didn't work, because I'm not using a dropbox folder. By the way, that option is misspelled: it reads "Screenshots Clound"

 

Thank you!

 

Great and thank you for your feedback!

 

The Screenshots Cloud should save all imgru uploads links for a non Public Dropbox setup.

Share this post


Link to post

This workflow sounds awesome, but I'm having troubles getting it working. I've installed it and configured it. When I take a screenshot, the image is saved in my dropbox folder. But no link ever is copied to my clipboard. And viewing the clipboard history ('ssc') doesn't show anything either. It just reports "No Results".

 

I've run the setupss, provided the dropbox folder and my dropbox URL string, and selected no url shortening service.

 

I do use a utility called ClipMenu that saves clipboard history for me. I doubt that is causing a conflict, but thought I'd mention it.

 

 Any thoughts I what might be wrong?

Edited by tauren

Share this post


Link to post

This workflow sounds awesome, but I'm having troubles getting it working. I've installed it and configured it. When I take a screenshot, the image is saved in my dropbox folder. But no link ever is copied to my clipboard. And viewing the clipboard history ('ssc') doesn't show anything either. It just reports "No Results".

 

I've run the setupss, provided the dropbox folder and my dropbox URL string, and selected no url shortening service.

 

I do use a utility called ClipMenu that saves clipboard history for me. I doubt that is causing a conflict, but thought I'd mention it.

 

 Any thoughts I what might be wrong?

 

Did you set the workflow to work with Dropbox Public folder?

 

Are you using Mavericks?

 

Can you try to disable ClipMenu and make a test?

 

Thank you.

 

Really great workflow 

 

Thanks

 

Great. Thank you.

Share this post


Link to post

The workflow was not working (OS X Yosemite).

 

I reinstalled the 1.11 version. 

 

Got the same error : 

Starting debug for 'Screenshots 1.11'

[ERROR: alfred.workflow.input.scriptfilter] Code 1: 0:86: execution error: System Events got an error: Can’t get «class plif» "/Users/User/Library/Application Support/Alfred 2/Workflow Data/com.sztoltz.screenshots/settings.plist" of application "System Events". (-1728)

Share this post


Link to post

Same error for me on Yosemite 10.10.1

 

 

[ERROR: alfred.workflow.input.scriptfilter] Code 1: 0:86: execution error: System Events got an error: Can’t get «class plif» "/Users/manu/Library/Application Support/Alfred 2/Workflow Data/com.sztoltz.screenshots/settings.plist" of application "System Events". (-1728)

Share this post


Link to post

 

The workflow was not working (OS X Yosemite).

 

I reinstalled the 1.11 version. 

 

Got the same error : 

Starting debug for 'Screenshots 1.11'

[ERROR: alfred.workflow.input.scriptfilter] Code 1: 0:86: execution error: System Events got an error: Can’t get «class plif» "/Users/User/Library/Application Support/Alfred 2/Workflow Data/com.sztoltz.screenshots/settings.plist" of application "System Events". (-1728)

 

 

Same error for me on Yosemite 10.10.1

 

 

The workflow needs an update to work on Yosemite.

 

However, you can copy a settings.plist in the reported folder and the workflow should work.

 

Here’s one if you need: download

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now