I'll help with some of it, good luck with the rest. I've not tested any of this.

All of these seems a bit overkill vs just using a few lines of script for reading/writing the contents of raw 352/315/... into a .txt file. Why exactly are you wanting it to do all these things?


Code
; Switch to status window:
; /sendkeys % $+ 1
alias sendkeys {
  var %a = sendkeys $+ $ticks
  .comopen %a WScript.Shell
  if !$comerr {
    var %b = $com(%a,SendKeys,3,bstr,$1-)
    .comclose %a
    return %b
  }
  return 0
}

; Clear status window.
; /clear -s


; Copy all contents of the active window into the clipboard.
alias copyactive { 
  var %l = 1, %s = $line($active, 0) 
  clipboard 
  while (%l <= %s) { 
    clipboard -an $line($active, %l)
    inc %l 
  }
}

; Paste contents of clipboard into a channel.
; /pasteclipboard #channel
alias pasteclipboard { 
  var %i = 1, %x = $cb(0)
  while (%i <= %x) {
    .msg $1 $cb(%i)
    inc %i
  }
}