Matt Hamlin
@matthamlin.me
Matt's Musings
The other week I found out that Dropbox is shutting down the Dropbox Capture app and service:
Matt Hamlin
@matthamlin.me
For those that don't know, Dropbox Capture provided a really nice user experience for taking screenshots and screen recordings, automatically uploading them to Dropbox, and then copying a share link to easily share all in one go.
I basically used it every day, whether it was capturing a screenshot for a code change I was working on, or clipping a meme somewhere to share in a Discord chat - I heavily used the tool!
Now that its being shut down however, I started to look for a replacement.
I tried out a few of the options that folks recommended, and even tried to go back to the native macOS Screenshot utility, but none seemed to provide the nice UX of both saving the file to my Dropbox but also copying it to the clipboard to let me share it immediately as well.
I then stumbled across this blog post which shared a quick shell script and Apple Shortcut to run the script based on a keyboard shortcut.
I tested this workflow out for a bit but it seemed a bit hit or miss on if the keyboard shortcut would trigger the script. After a bit of messing around with it - I think I found a sweet spot building on the script but using Raycast instead of Shortcuts to manage the keyboard shortcut part for me! The gist was using Raycast's Script Command
feature!
Here's how I built out my "Better Screenshot" workflow using Raycast:
Create Script Command
Bash
Silent
Better Screenshot
Within the created script, you'll want to paste in the following snippet (copied and slightly edited from the above linked blog post):
You can then save the file and jump back into Raycast.
Open Raycast and then open it's settings (e.g. Cmd + ,
), go to Extensions
, and search for the name of your Script Command, e.g. Better Screenshot
, once you find it in the table - you'll want to record a keyboard shortcut for it. I opted to use the same shortcut that Dropbox Capture used for screenshots (Option + shift + s
).
Now when you hit that keyboard short cut it should show the screenshot cursor allowing you to click and drag to select an area of the screen, and once you do it will both copy the screenshot to the clipboard and also save the file to the location in the script above.
A quick note on the file location in the script above - this assumes you're storing the file in the Dropbox/Capture/
directory. Additionally - I found that you need to update/opt-in to some feature within the Dropbox mac app to have the Dropbox drive mounted under ~/Library/CloudStorage
.