hi,
Using the ability to create Service with Automator in Snow Leopard, I’m looking for a way to copy the link of a file copied to Dropbox/Public folder (“Copy Public Link”). If you’re familiar with Dropbox you’ll understand what I mean.
I can get a compressed copy of a particular file, move it to Dropbox/Public and then get Finder to take me there, but I’m missing the crucial last part of the process to get a perfect automated workflow: copying its Public Link.
Looking at how popular Dropbox is and how often this procedure could be used daily, I’m sure a solution would help many of us!
Cheers
If I had more time and I will in a few hours I will explain everything it does as it does. What you need to do to get it to work though is send a temp file to the public folder and get it’s public link manually open that up in textedit or some text program. You’ll see a series of numbers after the .com/u/ copy those numbers down. Open up the workflow I gave you the link to. Scroll down to the run actionscript and replace 121653 with your numbers and save the work flow as a plugin. Now just select the files you want to archive and add to public drop box right click goto automator and select your script. it will archive it move it and put the public link in the clipboard for you. All you have to do is paste link.
ok apologize for the dp but like my previous post i didnt have much time and i am writing this post from my cell phone. the magic from this workflow comes from the applescript portion. basicallly what that does is get the file location from clipboard of your archive. eg hd:users:username:dropbox:public:filename.zip and uses public: to split the variable and leaves you with just the filename.zip. the number sequence is paticular to each user. basically that is your id. the sript puts the file name at the?end of the url. the workflow then passes that to the clipboard. i will edit this post later with more detail when i have a mac in front of me