Closed gtallen1187 closed 4 years ago
Awesome! Here's the docs for getting the clipboard contents with Dropzone: https://github.com/aptonic/dropzone4-actions/blob/master/README.md#dzread_clipboard
So just:
clipboard_contents = $dz.read_clipboard
Should do the trick! Let me know if I can answer any more questions.
@aptonic Team - I'm a long-time customer of Dropzone, i love your product and use it every day. I'm just now getting into software development, and i'd like to take a shot at creating an action.
The action i want to create is: Download a file from the URL on the clipboard. For example, I'd like to copy a URL such as
https://gdg.sc.egov.usda.gov/GDGDL/3796330/soils_GSMCLIP_pa_3796330_02.zip
and then use a Dropzone action to download that file to a specific location on my computer.I've gone through the documentation, but I haven't seen anything about how to access clipboard content. Did i perhaps miss this somewhere?
Anyone reading this - I'm just looking for a small amount of guidance, if anybody is willing to lend a hand here i would greatly appreciate it!