1 Reply Latest reply on Jun 28, 2010 7:45 PM by richardh6

    How to find note text after converting note to text?

    jctpro

      I have a script that locates a note and converts it to text. I want to select the text that was in the note after it is converted to text. Any ideas how to find the text after the conversion?

        • 1. Re: How to find note text after converting note to text?
          richardh6 Level 1

          I don't have the InCopy object model handy -- I'm not at work -- but I'm pretty sure that one of the properties of the Note object is an InsertionPoint object at the position of the note in the story.  So you'd just set a variable equal to that InsertionPoint, then get the length of the string contents of the Note (say x), then convert the Note, and then select the text from the InsertionPoint forward x characters.