I just wrote a script that works beautifully, finding a portion of text within a selection and replacing it with a variable. However, at the end of the script it leaves the new text selected. Is there a way to deselect this and leave the cursor at the end of the new text? I tried to use SelectionOptions.REMOVE_FROM but it gives me an error stating that 'Remove from Selection' option not supported for this object type. What could I be doing wrong? Thanks for any help.