Share this post

Link to post

Share on other sites

Matt @ MPCS 0

If you take ezzetabi's suggestion, then I suggest dumping the contents of the clipboard to a variable BEFORE you set the text to the clipboard. Then after your script is done and AFTER you dump the contents of the clipboard, put the previous contents back on there. That way if the user stores information on the clipboard that they use often (like I do) then you aren't causing anymore headaches than absolutly necisary. It probably won't work with images (at least not yet) but it will work in 99% of the cirumstances.