This sort of can be done with the OSLIB library, find that at the oasis, but it works rather buggy, I've used it on W98 and W2K, but the milage varies. Useually I can only put something in the clipboard once, after that, to copy a second string, I have to quit the app and restart...... s-)
Maybe sombode knows a beter solution?
HTH, TonHu