Clipboard rawdata

Hi,
I have just downloaded XoJo after not having used Realbasic in years.
What I am trying to do is

  • Get the clipboard rawdata
  • Save the rawdata to a file.
  • Use some information such as text, images etc. separately.
    Then
  • Open the file and put the rawdata back on the clipboard.

I look forward to your reply.

Create a file using BinaryStream, store the RawData into it…
Load the data using BinaryStream (else you do not use RawData) and set the loaded contents to Clip.RawData…

http://documentation.xojo.com/index.php/Clipboard
http://documentation.xojo.com/index.php/BinaryStream