[openbeos] Re: clipboard, etc

Mat Hounsell <mat_geek@xxxxxxxxxxxx> wrote:
 ...
> Jonas, there is a command line clipboard 
> reader and printer (by me :)

Mat!

I'm sorry, I must have spotted the cvs mailinglist 
entry on Ingo's recently committed testapp and 
mixed up the two.

> It doesn't alow writing to the clipboard. It's stand alone
> and runs on R5 if you would like to add writing
> to that would be appreciated.

Your coding style is very different from mine.
I think it would be some weird amalgamation.

From my POV it's easier to replace it with mine,
given the richer feature set:

*************************************

Syntax: clipboard  --option  [--file=path]

Options:
--save            Save clipboard (flattened BMessage)
--load            Load clipboard (flattened BMessage)

--file=path       Unless a file is specified, --save/--load
                  will default to a file named 'clipboard-clip',
                  in your settings directory

--stdin           Load clipboard from standard input
--string="xyz"    Load clipboard from the given string

--print           Print clipboard to standard output
--stdout          Same as --print
--debug           Print clipboard message to stdout

--empty           Remove all contents from clipboard

--help            Display this marvelous help text   

*************************************

Jonas Sundström.                 www.kirilla.com


Other related posts: