You're looking for the equivalent of 'Find to end of story'. Here's a way to do that:
ip = app.selection; target = ip.parentStory.insertionPoints.itemByRange (ip, ip.parentStory.insertionPoints[-1]); found = target.findText();
In other words, from the selected insertion pont to the insertion point's parent story's last insertion point.
would you please mark Peter's reply as the correct one.
Marked correct answer..