if the input is already on the clip board and the cursor is already in the text field, then why hit ctrl-t when all you have to do is ctrl-v. and you don't have to program anything.