

Replace, , and of course change the /test/ directory to your desired path that said, there's a LOT of double and single quotes and escaped characters in those commands-paste carefully and triple check the syntax. Those ridiculous \\\ are required to escape the escape \" that is required for the curl.

(Copy that, paste it into the script, and do not share it with anyone.) Name your app (you will not be using the name in the AppleScript, so just name it something you will remember)Ħ. Choose the type of access (i use "Full Dropbox" but you do you)ĥ. Log in to (you don’t need a developer account, just login to dropbox like regular and go to this developer page)Ĥ. (the google website changes sometimes, these are the steps right now today)ġ. I am open to suggestions and improvements. I've been testing it for a couple days, and it works quite reliably. To me, it looks like the API is the best bet, although I'm afraid it's probably more programming than you were hoping for. I also took a quick look at the formatting of the Dropbox links, wondering if you could just construct them yourself from information you could get, but that didn't appear to be the case. I thought I could open the menu that way, then script selecting the item to copy the Dropbox link to the clipboard.Įven if this did work, you'd need scripting to ensure the window is open, in a consistent view, and then determine the "row" of your item in the Finder view. This script does not return any error, but it also doesn't open the contextual menu, and I don't know why it doesn't work. Tell theItem to perform action "AXShowMenu"

Set theItem to text field 1 of UI element 1 of row 14 of outline 1 of scroll area 1 of splitter group 1 of splitter group 1 of window "Dropbox"
