Writing to Clipboard
  • Order of the Butterfly
    Order of the Butterfly
    GMKai
    Posts: 253 from 2003/4/7
    How can one write from a script to the clipboard?
    I tried to copy a string to ram:clipboards/0.
    The string is in the file there, but it can't be copied to the addressbar of e.g IBrowse or into a shell.
    What am I doing wrong?
  • »20.06.04 - 17:46
    Profile
  • pOS
  • Order of the Butterfly
    Order of the Butterfly
    pOS
    Posts: 216 from 2003/11/14
    From: Bavaria
    AFAIK text data in clipboard may not be plain text but has to be in IFF-FTXT Format.
  • »20.06.04 - 18:06
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    tokai
    Posts: 1289 from 2003/2/25
    From: binaryriot
    there is a pure command "clip", which you could use for it. it's available on aminet and was written by CISC.

    I think it should be included in next MorphOS release.
  • »20.06.04 - 18:18
    Profile Visit Website