ClipCopy 0.9 by hukka (Freeware) ClipCopy is a small program whose purpose is to get the caption text of any top level window, then either copy it to clipboard or output it to stdout. It can be also used to output any other text (no longer than 400 characters) into the clipboard. Support for current clipboard content as input source is planned. The supplied two example batch files demonstrate how the program can be used for getting title of currently playing song from an audio player software and copying it to clipboard, suitable for pasting into IRC in order to annoy others. Simply bind the batch file to a shortcut key of your choice. "np-sed.bat" is a bit more sophisticated - instead of copying the text into clipboard, the output is written to stdout, piped to sed in order to do some additional string manipulation, then piped back to clipcopy which then reads the piped text from stdin and copies it to clipboard. Get sed and other useful tools here: http://unxutils.sourceforge.net/ Parameters: -C output to stdout (default) -c output to clipboard -i read input from stdin (as opposed to command line) -a after (appends the following parameter to output) -b before (prepends the following parameter to output) -t text; following parameter(s) are normal text (default) -w classname; following parameter(s) are window classnames The program will traverse through given parameters from left to right, quitting once the output has content, ignoring the rest of the parameters. Usage examples: clipcopy -c classname1 classname2 classname3 -t "not found" - goes through classnames 1-3 searching for window with that classname. If not found, returns "not found" instead. The result is copied to clipboard. clipcopy -b "he" -t "l" -a "lo" - copies "hello" to clipboard. For more examples, see supplied batch files. Contact: email: hukka@despammed.com www: http://www.hukka.furtopia.org/