I usually use Markdown to write. I want to share the image with Dropbox
I have noticed that there is a method to do the actions
Automatically copy the images to public link


My apple scripts
set file_path to theFile as text
try
set text item delimiters to ":"
set file name to last text item of file_path
set text item delimiters to ""
on error
set text item delimiters to ""
end try
set the clipboard to "https://dl.getdropbox.com/u/72877318/screenshots/" & file_name
But there is always showed me with "error executing apple scripts"