Carlos-Sz Posted January 31, 2013 Share Posted January 31, 2013 (edited) To Dropbox 3.0 (formerly Move to Dropbox)OverviewCopy or Move a file from Finder, Path Finder or Alfred 2 file browser to Dropbox Public Folder and get the URL to the clipboard.SetupBefore 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 newVersion 3.0 copy file new setup within Alfred instead of OSX dialogs updated to Alfred 2.0.3 AppleScript support Alleyoop 2 upport DownloadVersion 3.0Release date: 20 Apr 2013Requires Alfred 2.0.3 (187)Supports Alleywoop 2Download now Edited April 21, 2013 by Carlos-Sz thec13, dkoder, mixterdee and 3 others 6 Link to comment
hankydysplasia Posted January 31, 2013 Share Posted January 31, 2013 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. Link to comment
jibbe Posted January 31, 2013 Share Posted January 31, 2013 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 comment
CarlosNZ Posted January 31, 2013 Share Posted January 31, 2013 Why do you use the "Public folder" in Dropbox? - it's a deprecated concept: https://www.dropbox.com/help/16/en You can create a shareable link from any file or folder in Dropbox. Link to comment
CarlosNZ Posted January 31, 2013 Share Posted January 31, 2013 Just wondering why you use the "Public folder" in Dropbox? - it's a deprecated concept: https://www.dropbox.com/help/16/en You can create a shareable link from any file or folder in Dropbox. Link to comment
jibbe Posted January 31, 2013 Share Posted January 31, 2013 +1 to CarlosNZ Shareable link directly from a workflow would be great ! Link to comment
Carlos-Sz Posted January 31, 2013 Author Share Posted January 31, 2013 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. CarlosNZ 1 Link to comment
hankydysplasia Posted February 1, 2013 Share Posted February 1, 2013 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. Still doesn't work for me. I even replaced the name in the comment section for kicks. That didn't help either. :-) Link to comment
Carlos-Sz Posted February 1, 2013 Author Share Posted February 1, 2013 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 comment
MrClaye Posted February 4, 2013 Share Posted February 4, 2013 This is terrific ! Could you add something to copy the shortened link instead ? Link to comment
Carlos-Sz Posted February 4, 2013 Author Share Posted February 4, 2013 This is terrific ! Could you add something to copy the shortened link instead ? That’s a good idea indeed. Any suggestion? Link to comment
MrClaye Posted February 4, 2013 Share Posted February 4, 2013 That’s a good idea indeed. Any suggestion? Also, that could be nice to add the multiple file selection support Link to comment
Carlos-Sz Posted February 5, 2013 Author Share Posted February 5, 2013 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 comment
hankydysplasia Posted February 6, 2013 Share Posted February 6, 2013 Brilliant work on the location to add Dropbox ID. Everything works great for me now! Link to comment
Carlos-Sz Posted February 6, 2013 Author Share Posted February 6, 2013 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. Link to comment
Bitomule Posted March 19, 2013 Share Posted March 19, 2013 Any chance to get a Pathfinder version? Thanks! Link to comment
Carlos-Sz Posted March 19, 2013 Author Share Posted March 19, 2013 Any chance to get a Pathfinder version? Thanks! Yes, I think it is possible. I post an updated version as soon as possible. Link to comment
lmartins Posted March 20, 2013 Share Posted March 20, 2013 Awesome plugin, will use every day. My Alfred 2 stats keep growing these days :-) Link to comment
Carlos-Sz Posted March 20, 2013 Author Share Posted March 20, 2013 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 comment
vitor Posted March 20, 2013 Share Posted March 20, 2013 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 comment
Davide Posted March 20, 2013 Share Posted March 20, 2013 Great workflow! Any change to implement a custom url shortener or the dropbox short url db.tt if it's still usable? Thanks! Link to comment
Carlos-Sz Posted March 20, 2013 Author Share Posted March 20, 2013 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 comment
Carlos-Sz Posted March 20, 2013 Author Share Posted March 20, 2013 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 comment
Carlos-Sz Posted March 21, 2013 Author Share Posted March 21, 2013 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. Link to comment
Davide Posted March 21, 2013 Share Posted March 21, 2013 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? Carlos-Sz 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