TW.target.copyToReplace()
Whatever is selected in the document will be copied to the replace dialogue find field.
Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents