Skip navigation
Currently Being Moderated

How to find note text after converting note to text?

Sep 23, 2009 8:44 AM

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?

 
Replies
  • Currently Being Moderated
    Jun 28, 2010 7:45 PM   in reply to jctpro

    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.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points