To expand on Riamus' answer...

The following code should be placed in your remotes editor (alt+R)

Code:

menu channel {
  copy window to clipboard:catch
}
alias catch {
  savebuf $active caught.txt
  clipboard $read(caught.txt,1)
  var %i $lines(caught.txt)
  var %o 1 
  while %o < %i {
    inc %o
    clipboard -an
    clipboard -a $read(caught.txt,%o)
  }
  remove caught.txt
}


to use it, right click in the window and look for the menu(or type /catch)