Jump to content
Carlos-Sz

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

Share this post


Link to post

Made the 2 changes after start edit with my computer name, user name, and dropbox ID number.  I use the hotkey.  I get the notification, but the file does not transfer and the new address is not copied.

Share this post


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 :)

Share this post


Link to post

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 make any change that fits your needs. :)

Share this post


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. :-)

Share this post


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.

Share this post


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

Share this post


Link to post

Brilliant work on the location to add Dropbox ID.

 

Everything works great for me now!

 

Great! I hope we can see easier ways to interact with an user. Edit a script is not easy.

Share this post


Link to post

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.

Share this post


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.

Share this post


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. :)

Share this post


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.

Share this post


Link to post

Move to Dropbox 2.0 is out!

 

- Path Finder support

- bitty and gooli for shortened URL

- step by step preferences (no need to edit workflow or scripts)

- improved keyword

- file action

- and more...

 

See initial post.

Share this post


Link to post

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?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...