Sample script to read a string off the clipboard, remove the newlines, and paste it in.