Jump to content

To Dropbox 3.0 (formerly Move to Dropbox) + URL to the clipboard


Recommended Posts

To Dropbox 3.0 (formerly Move to Dropbox)

Overview

Copy or Move a file from Finder, Path Finder or Alfred 2 file browser to Dropbox Public Folder and get the URL to the clipboard.

tdb_m.png

tdb_c.png

Setup

Before start using the workflow you have to configure it. The workflow will prompt you to set it when you run it for the first time or you can bring Alfred and type the keyword setup_tdb.

The setup will ask for:

  • Dropbox Public Folder location
  • Dropbox Public ID: the number that is in every URL of your shared links
  • The URL format: select bitly (it requires your login name and your API Key), gooli (no registration, fast alternative) or None to use the normal Dropbox URL format
  • If you select bitly you will be prompted to enter your login name and then your API key
  • Finally, you can choose if you want to use the shortened URL also for images or not

Triggering

  • Keyword movedb - to move a selected Finder or Path Finder file
  • keyword copydb - to copy a selected Finder or Path Finder file
  • keyword setup_tdb - use it to setup the workflow or to reconfigure it
  • Hotkeys - you can set up for both copying and moving features
  • File Action - select a file and Copy or Move within Alfred file browser

What’s new

Version 3.0

  • copy file
  • new setup within Alfred instead of OSX dialogs
  • updated to Alfred 2.0.3 AppleScript support
  • Alleyoop 2 upport

Download

Version 3.0
Release date: 20 Apr 2013
Requires Alfred 2.0.3 (187)
Supports Alleywoop 2
Download now

Edited by Carlos-Sz
Link to post
  • Replies 89
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

To Dropbox 3.0 (formerly Move to Dropbox) Overview Copy or Move a file from Finder, Path Finder or Alfred 2 file browser to Dropbox Public Folder and get the URL to the clipboard. Setup Before

The idea was to make one hotkey for everything: move file and get the URL. Multiple destinations (any folder in Dropbox) would brake it. Anyway, you can easily change the destination folder or mak

Sorry, nothing happens after the first run of the workflow. Tried it with Hotkey, Finder and Alfred file browser. Get no prompt.  Can I set the preferences manually?

Hi hankydysplasia

 

You have three modifications to make :

 

--YOUR_DISK_NAME is Macintosh HD by default
--YOUR_USERNAME is, well, the current logged user
--YOUR_NUMBER for the number that is displayed in your public Dropbox URL

 

Works great for me ! Thanks :)

Link to post
Hi hankydysplasia

 

You have three modifications to make :

 

--YOUR_DISK_NAME is Macintosh HD by default
--YOUR_USERNAME is, well, the current logged user
--YOUR_NUMBER for the number that is displayed in your public Dropbox URL

 

Works great for me ! Thanks :)

Ya, I thought I had done this.  Still isn't working.  Here's a couple screenshots.

 

screenshot-1359689792.jpg

 

screenshot-1359689821.jpg

 

Still doesn't work for me.  I even replaced the name in the comment section for kicks.  That didn't help either. :-)

Link to post
Ya, I thought I had done this.  Still isn't working.  Here's a couple screenshots.

 

 

 

 

...

Still doesn't work for me.  I even replaced the name in the comment section for kicks.  That didn't help either. :-)

 

My suggestion:

 

1. Start AppleScript Editor and a new file

2. Open Alfred 2 and Copy the code between /usr/bin/osascript << END | tr "\r" "\n” and END and paste into the new file

3. Select a file in Finder (a not important one)

4. Run the script and see what is going wrong

 

Finally, try to delete the workflow and download it again just in case.

Link to post

Workflow updated:

 

- the Home user folder is set automatically (no need to edit unless you have an unusual Dropbox installation)

 

- you still have to add your Dropbox ID from your public link (see initial post with a screenshot)

 

- a second hotkey to get a shortened URL by glo.li

Link to post
  • 1 month later...

Awesome plugin, will use every day.

 

My Alfred 2 stats keep growing these days :-)

 

Great to hear!

 

A new version is coming soon with support for bitly (shortened URL) and Path Finder along with zero script or workflow editing to enter personal information such as bitly login/API key and Dropbox Public folder location. In addition, File Action and better keyword support. It should be ready soon since I’m finishing some tests.

Link to post

For anyone else wondering about the Public Folder. Yes, it is a deprecated concept, but it is still the only way to achieve this without accessing the API, which adds a layer of complexity to this. Your ID does not change, which is why this works.

 

The new method is superior, I agree, but it is also harder to implement.

Link to post

Great workflow!

Any change to implement a custom url shortener or the dropbox short url db.tt if it's still usable? Thanks!

 

For now the workflow will have:

 

- bitly (that requires login and API key but you’ll have stats about your uploaded files)

- gooli (that seems to be one of the fastest  in my tests)

- normal Dropbox URL

 

In the future and if I can fit in AppleScript it is possible to add more services of course. :)

Link to post

For anyone else wondering about the Public Folder. Yes, it is a deprecated concept, but it is still the only way to achieve this without accessing the API, which adds a layer of complexity to this. Your ID does not change, which is why this works.

 

The new method is superior, I agree, but it is also harder to implement.

 

I agree.

Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...