2 Replies Latest reply on Mar 6, 2009 12:26 PM by Len Swierski-m5Cbo1

    [JS, CS3] How can I deselect text?

    Level 1
      Hi fellow scripters,

      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.


      Len Swierski