You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Justin P.2
9 years agoCollaborator | Level 10
Key Command/Shortcut to "Copy Dropbox Link" from Mac Finder.
I copy download links all day from the Mac Finder. It would be great to assign a key command so that you can highlight a file in your Dropbox via Mac Finder, and press a key command to copy the link ...
- 4 years ago
Update (2023-01-17)
I've moved the script to a repository and expanded on the instructions.
I wanted this now, so I wrote a Python script to get the URL from the command line and created an Automator QuickAction that calls the script with the selected file(s) in Finder:
Now, ^⌘L copies the Dropbox URL of any number of files selected in the Dropbox folder.
Gene_Parmesan
Collaborator | Level 8
Great to hear! I've tweaked the script slightly to call out the personal/business dichotomy more clearly, and updated my earlier comment to take account of the new line numbers. Enjoy your new Finder keyboard command! 😄
mbiaso
3 years agoExplorer | Level 4
would anyone help me to make it work? please? I've done almost all steps but am stacked now...it did not finds the py file on the bin folder...I'm not sure it there to be fair. hahaha
- Gene_Parmesan3 years agoCollaborator | Level 8
Yes, you have to put the script in a bin folder in your home directory. Follow the instructions in the comment below the script to get it set up.
- Gene_Parmesan3 years agoCollaborator | Level 8
Another alternative is to buy BetterTouchTool and assign the Trigger Context Menu Item action to a keyboard shortcut in Finder.
- dhermanq3 years agoHelpful | Level 6
Gene_Parmesan I've been using your script for a few months now and it's such a game changer — thank you!! I've noticed two quirks that I thought I'd share, in case you see any obvious solutions:
- Running the script on a file that's still syncing to the Dropbox cloud sometimes returns the following API error: ApiError('540888ba9ce3415db11214e6da16949d', CreateSharedLinkError('path', LookupError('not_found', None))) I've noticed this happens more often with larger files (>500MB) What's interesting is that I can still use the finder contextual menu item "Create Dropbox Link" for the same file when the script isn't working.
- When the script is working, it runs quite slowly. It usually takes 4-5 seconds to copy the link to the clipboard, whereas using the contextual menu item copies a link almost instantly. Any thoughts on how to speed this up? Would you guess that it's a function of response time from the Dropbox API, or something happening locally?
In any case, grateful to you for putting this together!
- cooley3 years agoExplorer | Level 3
thank you, this is so handy!
About View, download, and export
Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!