Is the easiest way to script downloading a file from the net Paste Clipboard as Item?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Dustydog
Posts: 321
Joined: 13 Jun 2016 04:19

Is the easiest way to script downloading a file from the net Paste Clipboard as Item?

Post by Dustydog »

'Nuff said in the title.

jaywalker32
Posts: 205
Joined: 27 May 2014 05:24

Re: Is the easiest way to script downloading a file from the net Paste Clipboard as Item?

Post by jaywalker32 »

You can download a file from the net using the download command:

eg:

Code: Select all

download "https://www.xyplorer.com/images/XY1950FP.png", "download.png";
Don't know about downloading it into the clipboard, but I suppose you can then use the copy command to copy it to the clipboard.

Dustydog
Posts: 321
Joined: 13 Jun 2016 04:19

Re: Is the easiest way to script downloading a file from the net Paste Clipboard as Item?

Post by Dustydog »

*facepalm* How I missed/forgot about the download command I do not know.

*I didn't mean download it into the clipboard. If you have a URL in the clipboard paste as item will download it.

And thank you for your time!

Post Reply