aviaryan Posted June 25, 2017 Posted June 25, 2017 (edited) This workflow uploads last screenshot that you took, to Imgur. It has options to minify the image (requires ImageOptim) and automatically delete the image after upload. After uploading, direct link to the image is copied to clipboard. # upload last screenshot to imgur without doing anything extra last2imgur # upload last screenshot to imgur and then delete it last2imgur d # minify last screenshot, upload to imgur and then delete it last2imgur dm # minify last screenshot and then upload to imgur last2imgur m Source: https://github.com/aviaryan/alfred-last2imgur Download: Last 2 Imgur workflow file Edited August 31, 2017 by aviaryan
aviaryan Posted August 31, 2017 Author Posted August 31, 2017 v2.0.0 released * Fixed bug with custom screenshot folders. It now takes screenshot directory from com.apple.screencapture before defaulting back to ~/Desktop. https://github.com/aviaryan/alfred-last2imgur/pull/3 Download links in OP.
Stooovie Posted March 2, 2022 Posted March 2, 2022 Hi, I'm getting [08:10:14.856] STDERR: Last 2 Imgur[Run Script] File '/Users/stooovie/DesktopScreenshot 2022-03-02 at 8.05.45.jpg' doesn't exist; skipping There's some kind of typo in the script, the path is obviously missing a forward slash between "Desktop" and "Screenshot". I'm not a dev and can't fix this myself, what to do? Thanks.
vitor Posted March 7, 2022 Posted March 7, 2022 On 3/2/2022 at 7:12 AM, Stooovie said: and can't fix this myself I beg to differ! You correctly identified the problem and the solution, so you can do it. Someone else also found it and submitted a fix, but it was never included. Here’s what you have to do: In Alfred, right-click the Workflow → Open in Finder. Open the getfile.sh file in TextEdit. Make these changes. You’ll remove a / on line 6 and add one on line 11, do you see it? Save the file. You should now have a working Workflow, assuming that’s the only issue. PBear 1
PBear Posted March 19, 2022 Posted March 19, 2022 On 3/7/2022 at 2:55 PM, vitor said: In Alfred, right-click the Workflow → Open in Finder. Open the getfile.sh file in TextEdit. Make these changes. You’ll remove a / on line 6 and add one on line 11, do you see it? Save the file. You should now have a working Workflow, assuming that’s the only issue. It worked for me. Thank you !
Stooovie Posted April 3, 2022 Posted April 3, 2022 Thanks, it works. Might come in handy with other scripts too
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