himat Posted July 9, 2019 Share Posted July 9, 2019 Github Download here This is for when you already have an image you just copied in your clipboard already, and you want to upload it to Imgur and get a link. Activate via `imgur` Alfred keyword No other arguments required This workflow uploads the most recent clipboard item to imgur and pastes the uploaded image URL into your clipboard. It also opens a browser tab with the uploaded image automatically. Note that if your most recent clipboard item is not an image, then you will be shown an error and nothing will be uploaded. Link to comment
chutnacik Posted October 14, 2019 Share Posted October 14, 2019 (edited) Hi, i'm getting this error: Edited October 14, 2019 by chutnacik Link to comment
Abd Ur Rehman Posted September 23, 2021 Share Posted September 23, 2021 @himatThanks it worked. I'm wondering where does it upload them? If we have to delete the image then? Link to comment
noisyneil Posted November 22, 2021 Share Posted November 22, 2021 Perhaps I'm missing something, but when I take a screenshot, there is an image (png) on the clipboard. I invoke this workflow and it tell's me there's no image on the clipboard. Same happens if I select an image file on the desktop and hit cmd+C. Any suggestions? Link to comment
Abd Ur Rehman Posted November 22, 2021 Share Posted November 22, 2021 It doesn't work that way, however I just tested it and it does copy and paste but not the original image. See my test here. You have to copy the image to your clipboard, like using a porgram, e.g. screenshot on macOS and then copy with cmd + c and then paste with the workflow. Link to comment
noisyneil Posted November 22, 2021 Share Posted November 22, 2021 3 hours ago, Abd Ur Rehman said: It doesn't work that way, however I just tested it and it does copy and paste but not the original image. See my test here. You have to copy the image to your clipboard, like using a porgram, e.g. screenshot on macOS and then copy with cmd + c and then paste with the workflow. Hi. I'm trying to make sense of what you're saying. So you take a screenshot, then copy with cmd+c... what do you mean copy? Copy the file? Open the file in preview, select the image and copy? I don't understand. The test image you sent is a png logo. Is that what you took a screenshot of? Link to comment
Abd Ur Rehman Posted November 22, 2021 Share Posted November 22, 2021 To do that, take a screenshot of mac using the cmd + 3 or cmd + 4 and then you'll have the screenshot window of mac and then press the cmd + c, this will copy that to the clipboard, then try to upload to the workflow. 3 minutes ago, noisyneil said: The test image you sent is a png logo. Is that what you took a screenshot of? Nope, that was an image and using the cmd+c from the desktop doesn't copy the image to the clipboard as an image but the file and that's why it's logo was uploaded there. Link to comment
noisyneil Posted November 22, 2021 Share Posted November 22, 2021 (edited) I think you mean cmd+shift+3/4 for screenshots. Cmd+shift+3 takes a screenshot as a png and saves it to the desktop. Cmd+shift+4 takes a screenshot and copies it to the clipboard. Neither of these opens a "screenshot window". Cmd+C from the desktop doesn't do anything and I just get "Did not upload anything. The last clipboard item is not an image" when running the Alfred workflow. Edited November 22, 2021 by noisyneil Link to comment
vitor Posted November 22, 2021 Share Posted November 22, 2021 This probably works with images in your clipboard. For example, if you add control to your screenshot-taking shortcut, the image contents themselves will be in the clipboard. This Workflow seems to no longer be under active development and the author hasn’t visited the forum in a while. If you want to give a try with WebScreenshot (disclaimer: I’m the author), it will allow you to upload your image anyway you want:Directly after taking a screenshot.From image contents in your clipboard.From image on your computer. Link to comment
Abd Ur Rehman Posted November 22, 2021 Share Posted November 22, 2021 (edited) @noisyneilFor me cmd+4 opens the selection one, refer the GIF I made for you. https://i.imgur.com/MKayhHb.gif Edited November 22, 2021 by Abd Ur Rehman Link to comment
vitor Posted November 22, 2021 Share Posted November 22, 2021 1 hour ago, Abd Ur Rehman said: @noisyneilFor me cmd+4 opens the selection one, refer the GIF I made for you. https://i.imgur.com/MKayhHb.gif Your gif shows ⌘⇧4, like @noisyneil mentioned. It’s the default shortcut on macOS. Link to comment
noisyneil Posted November 22, 2021 Share Posted November 22, 2021 (edited) nice to know i'm not going mad. :-) ...although I did get my shortcuts muddled up. they're in my muscle memory but not in my brain, apparently! cmd+shift+3 = whole screen screenshot, saved to desktop cmd+shift+4 = drag cursor to define screenshot area, saved to desktop cmd+shift+ctrl+3 = whole screen screenshot, saved to clipboard cmd+shift+ctrl+4 = drag cursor to define screenshot area, saved to clipboard None of these work opens a 'screenshot window' and none of them work for me with the workflow. I just tried Webscreenshot and, bizarrely, it takes a screenshot of the desktop wallpaper, despite other screens being in front of it. Very strange, but feels like it's very close to working! EDIT: i had to give Alfred permission to record my screen and now it works! phenomenal! thankyou @vitor!! Edited November 22, 2021 by noisyneil vitor 1 Link to comment
noisyneil Posted February 14, 2022 Share Posted February 14, 2022 So weird. This is still working great in most instances, but if certain apps are at the front (e.g. Audio Hijack), it says there's no image on the clipboard. Link to comment
Josuah Posted March 12, 2022 Share Posted March 12, 2022 Hi @himat Thank you for this workflow. I've been trying to make it work, but I still have the issue @noisyneil encountered initially. I've given all the privacy permissions to the packages and screen rcording permission to Alfred. Currently, I have this (file icon) while I was expecting this (real image). The only workaround I've found so far is to open the file (in Preview), select all and copy it before firing up the workflow. It seems a bit counter-productive to have to do all this. Any idea how it could be improved? Thanks in advance. kenanmike 1 Link to comment
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