Posted By

reboltutorial on 04/23/10


Tagged

REBOL


Versions (?)

download image from clipboard


 / Published in: R
 

URL: http://reboltutorial.com

  1. download-image: func [] [
  2. url: to-url read clipboard://
  3. change-dir to-rebol-file ImageDirectory
  4. dir: request-dir
  5. file-name: ask "file name: "
  6. file: to-rebol-file rejoin [dir file-name]
  7. write/binary file read/binary url
  8. change-dir to-rebol-file RebDir
  9. ]

Report this snippet  

You need to login to post a comment.