I spent all night last night trying to do this in C#. After a 380Mb download, careful adding of references to COM objects, and a self-guided crash course in C#, I found myself having spend the last 2 of the 3.5 hours’ development time trying to find out how to make a C# console application start in a single-thread apartment using Visual Studio Express.
This evo, I rustled it up in C and cygwin in about an hour, and it’s a 4k executable.
clip-0.1.tgz
Pipe data to clip -c and it will appear on the clipboard. type clip -p and it will paste from the clipboard to stdout. Handy huh?
one comment so far...
yeah, i’ve thought that myself.
for a long time.
yeah.
leave a reply
You must be logged in to post a comment.