vitor Posted December 9, 2015 Posted December 9, 2015 This workflow is officially deprecated in favour of Screenshots Take screenshots with and upload them directly to imgur, copying the resulting link to the clipboard. In addition to the Hotkey, you may upload an image or video by picking the Upload Screenshot File Action. uploadscreenshotclipboard uploads the most recent image data in your clipboard. savescreenshotclipboard saves the most recent image data in your clipboard to the Desktop. recentscreenshots enumerates recently uploaded screenshots, ordered from the last. You can then open them in the browser to view (↵), delete (⌘↵), copy (⌥↵), or preview (⇧). Yuri, TFV, Alan He and 1 other 4
Boumy Posted December 9, 2015 Posted December 9, 2015 Ex-tra-or-di-na-ry ! Works like a charm ! Thank you !
vitor Posted December 15, 2015 Author Posted December 15, 2015 Update. There are now two extra options. They do the same as before, except they resample the images before upload (useful if you’re using a retina screen).
vitor Posted December 16, 2015 Author Posted December 16, 2015 Update. Fix for who’s using an OS X version pre El Capitan.
vitor Posted December 17, 2015 Author Posted December 17, 2015 Update. Fix for library updates and better performance for notifications.
Amator Posted April 4, 2016 Posted April 4, 2016 Vitor, WebScreenshot was working perfectly, but today whenever I've taken a screenshot the workflow breaks down. Here is the debug log from Alfred: Starting debug for 'WebScreenshot' [ERROR: alfred.workflow.action.script] ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 113: terminal-notifier: command not found ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 113: terminal-notifier: command not found ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 113: terminal-notifier: command not found Can you please advise what's going on? Thanks!
vitor Posted April 4, 2016 Author Posted April 4, 2016 I’ve noticed that today as well. It seems the issue was with one of the automatically updated tools, whose bug was preventing it to be updated further. Download it again (now at a later version), and it should work. Amator 1
afordturtle Posted June 21, 2016 Posted June 21, 2016 Great workflow! Works flawlessly on Alfred 3. Been looking for something like this for a while since the other Imgur workflow out there stopped working.
xilopaint Posted July 25, 2016 Posted July 25, 2016 I have a very dumb question. When using the workflow I get links like this: file:///Users/usuario/Desktop/Screen%20Shot%202016-07-25%20at%2017.04.24.png How can I manage to get a imgur direct link to post the image in this forum? What am I missing?
vitor Posted July 28, 2016 Author Posted July 28, 2016 (edited) xilopaint open the debugger, and post the output. Edited July 28, 2016 by Vítor
juliosecco Posted July 28, 2016 Posted July 28, 2016 Hi Vitor, just discovered the workflow and it is very useful! any chance to upload on a specific account, or I am missing something? thanks you
vitor Posted July 28, 2016 Author Posted July 28, 2016 juliosecco There’s no way to upload to a specific account. I just looked into it, and I don’t intend to add the option to do it. Reason being it can’t be completely automated. It will require manual labour on the user’s side (manually registering a new application with imgur and getting an API key) and that’s a bad experience on the user’s side, and one I wouldn’t be improving on since I don’t have an account.I will consider a PR if it’s well done and takes user experience into account, though.
xilopaint Posted July 28, 2016 Posted July 28, 2016 xilopaint open the debugger, and post the output. Starting debug for 'WebScreenshot' [2016-07-28 12:36:13][ERROR: action.script] ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 113: terminal-notifier: command not found ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 113: terminal-notifier: command not found dyld: warning, LC_RPATH ~/Library/Frameworks in /Library/Audio/Plug-Ins/Components/Flip4Mac WMA Import.component/Contents/MacOS/Flip4Mac WMA Import being ignored in restricted program because it is a relative path ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 113: terminal-notifier: command not found
juliosecco Posted July 28, 2016 Posted July 28, 2016 Starting debug for 'WebScreenshot' [2016-07-28 12:36:13][ERROR: action.script] ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 113: terminal-notifier: command not found I too see the error, but indeed the workflow is working, the snapshot is loaded and in the clipboard I have the link... another strange thing is that my error message is slightly different from yours: ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 114: terminal-notifier: command not found
vitor Posted July 28, 2016 Author Posted July 28, 2016 (edited) The terminal-notifier error is expected (I should silence that one), as the notification is handled differently. The issue in xilopaint’s case is playing the sound. My terminal-notifier error is also on line 114, so it seems you might be using a different version, xilopaint. What macOS version are you on? Edited July 28, 2016 by Vítor
vitor Posted July 28, 2016 Author Posted July 28, 2016 Update. It now uses OneUpdater, so this should be the last time you need to manually update. It also updates the upload script.
xilopaint Posted July 28, 2016 Posted July 28, 2016 The terminal-notifier error is expected (I should silence that one), as the notification is handled differently. The issue in xilopaint’s case is playing the sound. My terminal-notifier error is also on line 114, so it seems you might be using a different version, xilopaint. What macOS version are you on? 10.11.6
vitor Posted July 29, 2016 Author Posted July 29, 2016 xilopaint Download the latest one (just updated) and see if it works.
Heniek Posted September 21, 2016 Posted September 21, 2016 Hello All I'm starting with Alfred workflows but frequently has used WebScreenshot. Not sure what happened last days, but it stopped to work (no link copied into clipboard) and got following debug log: Quote Starting debug for 'WebScreenshot' [2016-09-21 14:06:25][ERROR: action.script] ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 114: terminal-notifier: command not found ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 114: terminal-notifier: command not found ./_licensed/imgur-screenshot/imgur-screenshot.sh: line 114: terminal-notifier: command not found I have updated into last version, restarted the app but no result. Any advice ?
vitor Posted September 21, 2016 Author Posted September 21, 2016 Update. Fixes the problem Heniek reported. In addition, a link to delete the uploaded image will also be produced and saved to /tmp/webscreenshot_latest_upload_delete_url.txt. This file will be overwritten on every usage. To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater.
vitor Posted September 28, 2016 Author Posted September 28, 2016 Update. Better handling of URLs. Copied URL will no longer have trailing newline. Delete URLs will be appended to the file instead of overwritten and will be accompanied by the date and time they were taken, to help identify them. To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now